mod_mam: Don't add 'to' attribute to <result/> tag

This commit is contained in:
Holger Weiss 2015-02-27 21:56:45 +01:00
parent 6b4d521bb1
commit 48966d43a9
1 changed files with 0 additions and 1 deletions

View File

@ -865,7 +865,6 @@ send_mam_message(#jid{luser = U, lserver = S} = JID, QueryID,
children = [Stanza]}, children = [Stanza]},
Result = #xmlel{name = <<"result">>, Result = #xmlel{name = <<"result">>,
attrs = [{<<"xmlns">>, ?NS_MAM}, attrs = [{<<"xmlns">>, ?NS_MAM},
{<<"to">>, To},
{<<"id">>, jlib:integer_to_binary(MamID)}] {<<"id">>, jlib:integer_to_binary(MamID)}]
++ QueryIDAttr, ++ QueryIDAttr,
children = [jlib:add_delay_info(Forwarded, S, Time)]}, children = [jlib:add_delay_info(Forwarded, S, Time)]},