ifeomaro / mod_server_timestamp

Ejabberd server timestamp module

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#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>

About

Ejabberd server timestamp module


Languages

Language:Erlang 100.0%