On Sat, Jan 15, 2011 at 11:41 AM, Thomas Kratz <[email protected]> wrote: > I still don't get StanzaBuilders mechanisms right. To create the > timestamp for offline messages i would have to add a new XMLElement I > guess to the MessageStanza. But How to build that ?
We do something similar in MUC when sending history to a client. You can find the code in: https://svn.apache.org/repos/asf/mina/vysper/trunk/server/extensions/xep0045-muc/src/main/java/org/apache/vysper/xmpp/modules/extension/xep0045_muc/model/DiscussionMessage.java Look in the createStanza() method. /niklas
