aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorRobert Hoelz <rob@hoelz.ro>2010-12-09 12:41:30 -0600
committerRobert Hoelz <rob@hoelz.ro>2010-12-09 12:41:30 -0600
commit404f212f37f3e0ad6b682912335023da4ab67a5b (patch)
tree4bcae506eb38cd83681538822eaaf9245d948b2f /plugins
parent3ac96f5c347b78d1e1ac8a21c8667a08860c668b (diff)
downloadprosody-404f212f37f3e0ad6b682912335023da4ab67a5b.tar.gz
prosody-404f212f37f3e0ad6b682912335023da4ab67a5b.zip
mod_message, mod_offline: Change message/offline/store -> message/offline/handle
Diffstat (limited to 'plugins')
-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;