From ec8cb81c0dd7946e291f2b7a1bb1fd1beb5919d1 Mon Sep 17 00:00:00 2001 From: Christophe Romain Date: Mon, 12 Nov 2012 16:08:09 +0100 Subject: [PATCH] make sure publisher is #jid (TECH-1499) --- src/mod_pubsub/mod_pubsub.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod_pubsub/mod_pubsub.erl b/src/mod_pubsub/mod_pubsub.erl index a82931652..4c0643c02 100644 --- a/src/mod_pubsub/mod_pubsub.erl +++ b/src/mod_pubsub/mod_pubsub.erl @@ -2915,7 +2915,7 @@ publish_item(Host, ServerHost, Node, Publisher, ItemId, Payload) -> true -> broadcast_publish_item(Host, Node, NodeId, Type, Options, ItemId, - jlib:jid_tolower(Publisher), BrPayload, + Publisher, BrPayload, Removed); false -> ok end,