aboutsummaryrefslogtreecommitdiffstats
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
commit3e726703179ca5268d23fc595bbe11e5fb94d6f8 (patch)
treed0e0bf54595ad25c55f7665a4eb409c972549df2
parentd4d1388349098ec125e84b0f877ae999d75f6e22 (diff)
downloadprosody-3e726703179ca5268d23fc595bbe11e5fb94d6f8.tar.gz
prosody-3e726703179ca5268d23fc595bbe11e5fb94d6f8.zip
mod_message, mod_offline: Change message/offline/store -> message/offline/handle
-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;