Diff

plugins/mod_presence.lua @ 3969:32d4a73901e2

mod_presence, mod_offline: Merge message/offline/delete with message/offline/broadcast.
author Robert Hoelz <rob@hoelz.ro>
date Thu, 09 Dec 2010 12:28:05 -0600
parent 3968:048af3ee5899
child 4139:eef75a0c85e3
line wrap: on
line diff
--- a/plugins/mod_presence.lua	Thu Dec 09 12:23:37 2010 -0600
+++ b/plugins/mod_presence.lua	Thu Dec 09 12:28:05 2010 -0600
@@ -117,7 +117,6 @@
 		if priority >= 0 then
                         local event = { origin = origin }
                         module:fire_event('message/offline/broadcast', event);
-                        module:fire_event('message/offline/delete', event);
 		end
 	end
 	if stanza.attr.type == "unavailable" then