XMPP (eXtensible Messaging and Presence Protocol) seems to miss a timestamp managed by the server on the presence tag.
To illustrate my view, let’s take a simple example. How many times have you logged into your Instant Messaging to talk to a friend and have seen his status as away, with the presence description as “Lunch” ? What doe s it mean actually ? Did he just left for lunch ? He is about to come back in a few minutes or should I expect to have him again available ?
The information you get from your friend status is sometimes meaningless because you miss some context data: When was the status message written. It does not have the same impact if it was written 2 days ago or 1 hour ago. Actually, the fact we miss this information seems now so obvious to me, that I wonder why we do not add timestamps before. Of course, this is less important if you are often connected because you can have a rough feeling of what your friend have been doing (or you have used a plugin in your instant messaging client to keep a record of your friend status changes).
Other type of XMPP usage might also require the timestamp information of your presence packets. With microblogging-like applications you need to put your friends information in a timeline. If you want to build a log of your friends status message in presence packet you need time information in standard presence packets.
The main XMPP specification does not take the need for presence timestamp into account. Fortunately, a draft XMPP extension allows to use timestamp on message and presence tags: Delayed Delivery (XEP-0203). However, this feature has been mostly designed to get delayed delivery of messages send to you through the offline storage or for chat room history that you usually receive when you enter the room. It means that no one yet is using it to define the “delay” of the standard presence packet reception.
I think this is something very important to improve the user experience and this is a feature I plan to add experimentaly in ejabberd (and OneTeam client) in a very close future. Stay tuned for feedback on this experiment.
Categories: Companies ProcessOne
Erlang on Twitter
» buzzamzn (アマゾンに関する情報を発信中♪): 楽天市場:Learn You Some Erlang for Great Good!-【電子ブック版】 http://t.co/Ot4LPkbgw7 #amazon #アマゾン #相互フォロー
楽天市場:Learn You Some Erlang for Great Good!-【電子ブック版】 http://t.co/Ot4LPkbgw7 #amazon #アマゾン #相互フォロー
» robertoaloi (Roberto Aloi): @mariofusco Wouldn’t it be simpler switching to #erlang? ;-)
@mariofusco Wouldn’t it be simpler switching to #erlang? ;-)
» guillaumepotier (Guillaume POTIER): @francois2metz du coup tu vas recruter une armée de full stack ? Tu ne veux pas qques spécialistes Erlang ?
@francois2metz du coup tu vas recruter une armée de full stack ? Tu ne veux pas qques spécialistes Erlang ?
» HumphreyStamper (Humphrey Stamper): Wage reduction the trim erlang only http://t.co/6qTcEyl3Sk tactician in contemplation of organism leap http://t.co/1CWvIAjBNU
Wage reduction the trim erlang only http://t.co/6qTcEyl3Sk tactician in contemplation of organism leap http://t.co/1CWvIAjBNU
Number of aggregated posts: 10657
Most recent article: June 11, 2013
» Moraru on This is Why You Spent All that Time Learning to Program: It is true that computer science was a pain in the back at time that i’ve had to learn it…
» Commercial hand dryers on Couchbase Meetup at new HQ: Buy online from here where you will get so much of variety in Commercial hand dryers for people. If you…
» Fort McMurray Homes on Motivated Reasoning and Erlang vs Python vs Node: I don’t really understand why this post is motivational? I don’t even see a post, just a title. Fort McMurray…