mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-20 17:27:00 +01:00
* src/mod_offline.erl: Use offline_subscription_hook
SVN Revision: 260
This commit is contained in:
parent
4103f30812
commit
d543a63e9b
@ -77,6 +77,8 @@ receive_all(Msgs) ->
|
|||||||
stop() ->
|
stop() ->
|
||||||
ejabberd_hooks:delete(offline_message_hook,
|
ejabberd_hooks:delete(offline_message_hook,
|
||||||
?MODULE, store_packet, 50),
|
?MODULE, store_packet, 50),
|
||||||
|
ejabberd_hooks:delete(offline_subscription_hook,
|
||||||
|
?MODULE, store_packet, 50),
|
||||||
ejabberd_hooks:delete(resend_offline_messages_hook,
|
ejabberd_hooks:delete(resend_offline_messages_hook,
|
||||||
?MODULE, pop_offline_messages, 50),
|
?MODULE, pop_offline_messages, 50),
|
||||||
exit(whereis(?PROCNAME), stop),
|
exit(whereis(?PROCNAME), stop),
|
||||||
|
Loading…
Reference in New Issue
Block a user