aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_presence.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mod_presence.lua')
-rw-r--r--plugins/mod_presence.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/mod_presence.lua b/plugins/mod_presence.lua
index 15d1b9c1..fa070b7f 100644
--- a/plugins/mod_presence.lua
+++ b/plugins/mod_presence.lua
@@ -321,6 +321,7 @@ module:hook("presence/bare", function(data)
else
handle_normal_presence(origin, stanza, core_route_stanza);
end
+ return true;
end);
module:hook("presence/full", function(data)
-- inbound presence to full JID recieved
@@ -337,4 +338,5 @@ module:hook("presence/full", function(data)
-- TODO fire post processing event
session.send(stanza);
end -- resource not online, discard
+ return true;
end);