[jdev] Add a timestamp and/or ID to message stanzas
John Stewart
ironfe56 at gmail.com
Fri Sep 11 08:45:44 CDT 2009
I need to add either a guaranteed unique timestamp, or a timestamp plus a
guaranteed unique ID to EVERY message stanza passing through an XMPP server.
The timestamp will be displayed in customized clients, and the timestamp or
ID, will be used to store and retrieve messages from a database.
I've done quite a bit of searching, and so far in the XMPP docs, I've only
seen references to message IDs as optional, and timestamps as being used for
delayed delivery. So I think I'll be developing a custom extension, in a
non-standard namespace.
Questions:
1. Have I overlooked an already existing spec for what I need to do?
2. Can I add this functionality using an external XMPP component(XEP-0114),
or will I have to write a mod for a specific XMPP server(ejabberd most
likely)?
3. Is it easy/possible to create a guaranteed unique timestamps in an
ejabberd component?
Thanks for any enlightenment provided.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20090911/a378da3a/attachment-0002.htm>
More information about the JDev
mailing list