From: Christophe Romain Date: Tue, 27 Aug 2013 12:46:22 +0000 (+0200) Subject: fix call to get_session_pid with binary arguments X-Git-Tag: 13.09~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b82eeeeec99e4548e8837be26f576bf7ec18b2fe;p=ejabberd fix call to get_session_pid with binary arguments --- diff --git a/src/mod_pubsub.erl b/src/mod_pubsub.erl index ba9870d9d..573fbb835 100644 --- a/src/mod_pubsub.erl +++ b/src/mod_pubsub.erl @@ -4443,7 +4443,7 @@ broadcast_stanza({LUser, LServer, LResource}, Publisher, Node, NodeId, Type, Nod [] -> case user_resources(LUser, LServer) of [Resource|_] -> Resource; - _ -> "" + _ -> <<>> end; _ -> LResource diff --git a/src/mod_pubsub_odbc.erl b/src/mod_pubsub_odbc.erl index 9874281d0..08ae9fe45 100644 --- a/src/mod_pubsub_odbc.erl +++ b/src/mod_pubsub_odbc.erl @@ -4062,7 +4062,7 @@ broadcast_stanza({LUser, LServer, LResource}, Publisher, Node, NodeId, Type, Nod [] -> case user_resources(LUser, LServer) of [Resource|_] -> Resource; - _ -> "" + _ -> <<>> end; _ -> LResource