]> granicus.if.org Git - ejabberd/commit
mod_mam: Use user JID for stanza ID 'by' attribute
authorHolger Weiss <holger@zedat.fu-berlin.de>
Tue, 1 Nov 2016 07:47:08 +0000 (08:47 +0100)
committerHolger Weiss <holger@zedat.fu-berlin.de>
Tue, 1 Nov 2016 07:47:08 +0000 (08:47 +0100)
commit2a63d0e95a0e77261a1b57a816720bef190388b1
tree88f4250bc6ee0384e35590be5540f62d234a40e7
parentf6236d456d599544baed11d51c3e6d7ef7e459eb
mod_mam: Use user JID for stanza ID 'by' attribute

Use the user (or room) JID instead of the server JID for the 'by'
attribute of <stanza-id/> and <archived/> tags.  That's what the
examples in XEP-0313 v0.2 and XEP-0359 v0.3.0 suggest.
src/mod_mam.erl