mirror of
https://github.com/processone/ejabberd.git
synced 2025-01-03 18:02:28 +01:00
* src/ejabberd_router.erl: Now filter_packet hook works in
'global' context SVN Revision: 594
This commit is contained in:
parent
cc4d404364
commit
66561c3602
@ -1,3 +1,8 @@
|
|||||||
|
2006-08-14 Alexey Shchepin <alexey@sevcom.net>
|
||||||
|
|
||||||
|
* src/ejabberd_router.erl: Now filter_packet hook works in
|
||||||
|
'global' context
|
||||||
|
|
||||||
2006-08-04 Alexey Shchepin <alexey@sevcom.net>
|
2006-08-04 Alexey Shchepin <alexey@sevcom.net>
|
||||||
|
|
||||||
* src/tls/tls_drv.c: Report OpenSSL error messages (thanks to
|
* src/tls/tls_drv.c: Report OpenSSL error messages (thanks to
|
||||||
|
@ -221,7 +221,7 @@ do_route(OrigFrom, OrigTo, OrigPacket) ->
|
|||||||
?DEBUG("route~n\tfrom ~p~n\tto ~p~n\tpacket ~p~n",
|
?DEBUG("route~n\tfrom ~p~n\tto ~p~n\tpacket ~p~n",
|
||||||
[OrigFrom, OrigTo, OrigPacket]),
|
[OrigFrom, OrigTo, OrigPacket]),
|
||||||
LOrigDstDomain = OrigTo#jid.lserver,
|
LOrigDstDomain = OrigTo#jid.lserver,
|
||||||
case ejabberd_hooks:run_fold(filter_packet, LOrigDstDomain,
|
case ejabberd_hooks:run_fold(filter_packet,
|
||||||
{OrigFrom, OrigTo, OrigPacket}, []) of
|
{OrigFrom, OrigTo, OrigPacket}, []) of
|
||||||
{From, To, Packet} ->
|
{From, To, Packet} ->
|
||||||
LDstDomain = To#jid.lserver,
|
LDstDomain = To#jid.lserver,
|
||||||
|
Loading…
Reference in New Issue
Block a user