mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-30 16:36:29 +01:00
fix binary conversion of ServerHost in presence/2
SVN Revision: 2901
This commit is contained in:
parent
db4fe25274
commit
0c9e0168d5
@ -741,6 +741,8 @@ presence_probe(Peer, JID, Pid) ->
|
||||
presence(Host, {presence, User, Server, [Resource], JID})
|
||||
end
|
||||
end.
|
||||
presence(ServerHost, Presence) when is_binary(ServerHost) ->
|
||||
presence(binary_to_list(ServerHost), Presence);
|
||||
presence(ServerHost, Presence) ->
|
||||
SendLoop = case whereis(gen_mod:get_module_proc(ServerHost, ?LOOPNAME)) of
|
||||
undefined ->
|
||||
|
Loading…
Reference in New Issue
Block a user