From 404f212f37f3e0ad6b682912335023da4ab67a5b Mon Sep 17 00:00:00 2001 From: Robert Hoelz Date: Thu, 9 Dec 2010 12:41:30 -0600 Subject: mod_message, mod_offline: Change message/offline/store -> message/offline/handle --- plugins/mod_message.lua | 2 +- plugins/mod_offline.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins') diff --git a/plugins/mod_message.lua b/plugins/mod_message.lua index bd4e353a..df317532 100644 --- a/plugins/mod_message.lua +++ b/plugins/mod_message.lua @@ -48,7 +48,7 @@ local function process_to_bare(bare, origin, stanza) if user_exists(node, host) then -- TODO apply the default privacy list - ok = module:fire_event('message/offline/store', { + ok = module:fire_event('message/offline/handle', { origin = origin, stanza = stanza, }); diff --git a/plugins/mod_offline.lua b/plugins/mod_offline.lua index d1370b41..c956a40b 100644 --- a/plugins/mod_offline.lua +++ b/plugins/mod_offline.lua @@ -15,7 +15,7 @@ local jid_split = require "util.jid".split; module:add_feature("msgoffline"); -module:hook("message/offline/store", function(event) +module:hook("message/offline/handle", function(event) local origin, stanza = event.origin, event.stanza; local to = stanza.attr.to; local node, host; -- cgit v1.2.3