/mod_server_timestamp

Ejabberd server timestamp module

Primary LanguageErlang

#mod_server_timestamp

mod_server_timestamp was used with the [CarrierPigeon iOS project] (https://github.com/mychrisdangelo/CarrierPigeon) to implement the "message delivered" functionality by adding a timestamp to messages sent by users.

mod_server_timestamp source code:

Setting up

Sample Message Stanza

  • <message type="chat" from=“Alice” to="Bob" id=“ae134" serverTimestamp="1399779348">
  • <body>Hi</body><active xmlns=“http://jabber.org/protocol/chatstates”>
  • </active></message>