mod_mam: Don't add 'to' attribute to <result/> tag
This commit is contained in:
parent
6b4d521bb1
commit
48966d43a9
|
@ -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)]},
|
||||||
|
|
Loading…
Reference in New Issue