mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 17:59:31 +02:00
parent
5704a980c5
commit
d5afc767e6
1 changed files with 3 additions and 3 deletions
|
@ -156,9 +156,9 @@ privacy_check_packet(allow, C2SState,
|
|||
case xmpp:has_subtag(IQ, #last{}) of
|
||||
true ->
|
||||
#jid{luser = LUser, lserver = LServer} = To,
|
||||
{Sub, _} = ejabberd_hooks:run_fold(
|
||||
roster_get_jid_info, LServer,
|
||||
{none, []}, [LUser, LServer, From]),
|
||||
{Sub, _, _} = ejabberd_hooks:run_fold(
|
||||
roster_get_jid_info, LServer,
|
||||
{none, none, []}, [LUser, LServer, From]),
|
||||
if Sub == from; Sub == both ->
|
||||
Pres = #presence{from = To, to = From},
|
||||
case ejabberd_hooks:run_fold(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue