From 48966d43a94d642c76e43ee59abe6f5d087f5b0b Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Fri, 27 Feb 2015 21:56:45 +0100 Subject: [PATCH] mod_mam: Don't add 'to' attribute to tag --- mod_mam/src/mod_mam.erl | 1 - 1 file changed, 1 deletion(-) diff --git a/mod_mam/src/mod_mam.erl b/mod_mam/src/mod_mam.erl index f3618a8..ffee1cd 100644 --- a/mod_mam/src/mod_mam.erl +++ b/mod_mam/src/mod_mam.erl @@ -865,7 +865,6 @@ send_mam_message(#jid{luser = U, lserver = S} = JID, QueryID, children = [Stanza]}, Result = #xmlel{name = <<"result">>, attrs = [{<<"xmlns">>, ?NS_MAM}, - {<<"to">>, To}, {<<"id">>, jlib:integer_to_binary(MamID)}] ++ QueryIDAttr, children = [jlib:add_delay_info(Forwarded, S, Time)]},