Time of sending message to offline users

Hi,

I have migrated from jabber 1.4.

I jabberd when one user send message to another user, which is currently offline, the message is stored and is delivedered, when user goes online. The same in ejabber.

But there is big diference, in jabberd is time of the message the time, at which was message sent. In ejabber is it time, on which message is delivered. The jabberd scenario is match better, you need to know how old the message is, not time at which you have logged in.

it looks ok here

What version of ejabberd, and what client, and what version of the client?

Using ejabberd from SVN (and seems mod_offline.erl had no important changes since 0.9.1):

  1. I send two messages to an offline user.
  2. If I take a look at the webadmin, the offline messages are shown with the correct timestamp: '2005-07-30 19:04:09' and '2005-07-30 19:04:11'.
  3. I start Tkabber, open the 'Raw XML' window and login to that account. I receive two messages:
    <message 
      ...
      <x xmlns='jabber:x:delay'
    	stamp='20050730T17:04:09'/>
    </message>
    
    <message 
      ...
      <x xmlns='jabber:x:delay'
    	stamp='20050730T17:04:11'/>
    </message>
    With the right timestamp. It looks to work as defined in JEP-0091: Delayed Delivery.

Do you have any idea where could be the problem?

its client problem

After some investigation, we have figred out, that this problem have only miranda users. Psi and tkjabber are working OK.

So sorry, it is probably not ejabber related problem. Interesting is only, that miranda + jabberd are working properly.

[FIX] Ejabberd offline

[FIX] Ejabberd offline messages with wrong timestamp

To retrive archive store with correct timestamp see: http://egoncalves.com.br/ejabberd/ejabberd-offline-messages-with-wrong-t...

Syndicate content