+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>
* src/tls/tls_drv.c: Report OpenSSL error messages (thanks to
?DEBUG("route~n\tfrom ~p~n\tto ~p~n\tpacket ~p~n",
[OrigFrom, OrigTo, OrigPacket]),
LOrigDstDomain = OrigTo#jid.lserver,
- case ejabberd_hooks:run_fold(filter_packet, LOrigDstDomain,
+ case ejabberd_hooks:run_fold(filter_packet,
{OrigFrom, OrigTo, OrigPacket}, []) of
{From, To, Packet} ->
LDstDomain = To#jid.lserver,