24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-20 22:22:09 +02:00

* src/mod_offline.erl: Use offline_subscription_hook

SVN Revision: 260
This commit is contained in:
Alexey Shchepin 2004-08-23 20:47:15 +00:00
parent 4103f30812
commit d543a63e9b

View File

@ -77,6 +77,8 @@ receive_all(Msgs) ->
stop() ->
ejabberd_hooks:delete(offline_message_hook,
?MODULE, store_packet, 50),
ejabberd_hooks:delete(offline_subscription_hook,
?MODULE, store_packet, 50),
ejabberd_hooks:delete(resend_offline_messages_hook,
?MODULE, pop_offline_messages, 50),
exit(whereis(?PROCNAME), stop),