# HG changeset patch # User Robert Hoelz # Date 1291920090 21600 # Node ID 898399fd8da12d869f5426271396d0287f69ad48 # Parent 1c387a4c3e287d3f0346082f398c62c555265d5b mod_message, mod_offline: Change message/offline/store -> message/offline/handle diff -r 1c387a4c3e28 -r 898399fd8da1 plugins/mod_message.lua --- a/plugins/mod_message.lua Thu Dec 09 12:38:33 2010 -0600 +++ b/plugins/mod_message.lua Thu Dec 09 12:41:30 2010 -0600 @@ -48,7 +48,7 @@ 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 -r 1c387a4c3e28 -r 898399fd8da1 plugins/mod_offline.lua --- a/plugins/mod_offline.lua Thu Dec 09 12:38:33 2010 -0600 +++ b/plugins/mod_offline.lua Thu Dec 09 12:41:30 2010 -0600 @@ -15,7 +15,7 @@ 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;