Changeset

3972:a05cf5d9c7ab

mod_message, mod_offline: Change message/offline/store -> message/offline/handle
author Robert Hoelz <rob@hoelz.ro>
date Thu, 09 Dec 2010 12:41:30 -0600
parents 3971:faace741d0f9
children 3973:f5416372350d
files plugins/mod_message.lua plugins/mod_offline.lua
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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,
 			});
--- 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;