mirror of
https://github.com/processone/ejabberd.git
synced 2024-06-02 21:17:12 +02:00
Fix privacy check when serving local Last (thanks to Brian Acton)(EJAB-1271)
This commit is contained in:
parent
7ffe06c77f
commit
5ca3f221cc
|
@ -119,7 +119,7 @@ process_sm_iq(From, To, #iq{type = get} = IQ_Rec) ->
|
|||
[exmpp_jid:prep_node(To), exmpp_jid:prep_domain(To), UserListRecord,
|
||||
{From, To,
|
||||
exmpp_presence:available()},
|
||||
out]) of
|
||||
in]) of
|
||||
allow ->
|
||||
get_last(IQ_Rec, exmpp_jid:prep_node(To), exmpp_jid:prep_domain(To));
|
||||
deny ->
|
||||
|
|
|
@ -113,7 +113,7 @@ process_sm_iq(From, To, #iq{type = get} = IQ_Rec) ->
|
|||
[exmpp_jid:prep_node(To), exmpp_jid:prep_domain(To), UserListRecord,
|
||||
{From, To,
|
||||
exmpp_presence:available()},
|
||||
out]) of
|
||||
in]) of
|
||||
allow ->
|
||||
get_last(IQ_Rec, User, Server);
|
||||
deny ->
|
||||
|
|
Loading…
Reference in New Issue
Block a user