aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/mod_message.lua2
-rw-r--r--plugins/mod_offline.lua2
2 files changed, 2 insertions, 2 deletions
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;