25
1
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:
Badlop 2010-04-27 13:30:00 +02:00
parent 1c00a9713d
commit 6ae1f62469

View File

@ -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]);