Add a timestamp and/or ID to message stanzas
John Stewart <ironfe56 <at> gmail.com>
2009-09-11 13:45:44 GMT
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.
_______________________________________________
JDev mailing list
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: JDev-unsubscribe <at> jabber.org
_______________________________________________