25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

fix call to get_session_pid with binary arguments

This commit is contained in:
Christophe Romain 2013-08-27 14:46:22 +02:00
parent dd26398a02
commit b82eeeeec9
2 changed files with 2 additions and 2 deletions

View File

@ -4443,7 +4443,7 @@ broadcast_stanza({LUser, LServer, LResource}, Publisher, Node, NodeId, Type, Nod
[] ->
case user_resources(LUser, LServer) of
[Resource|_] -> Resource;
_ -> ""
_ -> <<>>
end;
_ ->
LResource

View File

@ -4062,7 +4062,7 @@ broadcast_stanza({LUser, LServer, LResource}, Publisher, Node, NodeId, Type, Nod
[] ->
case user_resources(LUser, LServer) of
[Resource|_] -> Resource;
_ -> ""
_ -> <<>>
end;
_ ->
LResource