mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +01:00
Don't store blocked messages in offline queue (thanks to Brian Acton)(EJAB-1224)
This commit is contained in:
parent
1c00a9713d
commit
6ae1f62469
@ -573,6 +573,7 @@ route_message(From, To, Packet) ->
|
||||
_ ->
|
||||
case ejabberd_auth:is_user_exists(LUser, LServer) of
|
||||
true ->
|
||||
is_privacy_allow(From, To, Packet) andalso
|
||||
ejabberd_hooks:run(offline_message_hook,
|
||||
LServer,
|
||||
[From, To, Packet]);
|
||||
|
Loading…
Reference in New Issue
Block a user