aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristophe Romain <christophe.romain@process-one.net>2011-03-10 12:24:56 +0100
committerChristophe Romain <christophe.romain@process-one.net>2011-03-10 12:24:56 +0100
commit38bf3bfc1cbcea2458da1fdc27094e8d481df92a (patch)
tree9772b25050c49f37a2ea81b0bfb71a897f81b498 /src
parentInclude client namespace in CAPs queries (EJAB-1411) (diff)
fix PEP broadcasting (thanks to Karim Gemayel)(EJAB-1411)
Diffstat (limited to 'src')
-rw-r--r--src/mod_pubsub/mod_pubsub.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_pubsub/mod_pubsub.erl b/src/mod_pubsub/mod_pubsub.erl
index 7cca1477c..a01a2a148 100644
--- a/src/mod_pubsub/mod_pubsub.erl
+++ b/src/mod_pubsub/mod_pubsub.erl
@@ -3483,7 +3483,7 @@ broadcast({U, S, R}, Node, NodeId, Type, NodeOptions, Subscriptions, Stanza, SHI
%% set the from address on the notification to the bare JID of the account owner
%% Also, add "replyto" if entity has presence subscription to the account owner
%% See XEP-0163 1.1 section 4.3.1
- Event = {pep_message, binary_to_list(Node)++"+notify"},
+ Event = {pep_message, << Node/binary, <<"+notify">>/binary >>},
Message = case get_option(NodeOptions, notification_type, headline) of
normal -> Stanza;
MsgType -> add_message_type(Stanza, atom_to_list(MsgType))