Software /
code /
prosody
Comparison
plugins/mod_presence.lua @ 1147:513c1d071045
mod_presence: return true from the presence handler
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Fri, 15 May 2009 06:28:02 +0500 |
parent | 1057:2677f5a4e66b |
child | 1150:d71a8f28f18b |
comparison
equal
deleted
inserted
replaced
1146:542d49518d3a | 1147:513c1d071045 |
---|---|
266 handle_inbound_presence_subscriptions_and_probes(origin, stanza, from_bare, to_bare, core_route_stanza); | 266 handle_inbound_presence_subscriptions_and_probes(origin, stanza, from_bare, to_bare, core_route_stanza); |
267 else | 267 else |
268 core_route_stanza(origin, stanza); | 268 core_route_stanza(origin, stanza); |
269 end | 269 end |
270 end | 270 end |
271 return true; | |
271 end | 272 end |
272 | 273 |
273 local add_handler = require "core.eventmanager2".add_handler; | 274 local add_handler = require "core.eventmanager2".add_handler; |
274 local remove_handler = require "core.eventmanager2".remove_handler; | 275 local remove_handler = require "core.eventmanager2".remove_handler; |
275 | 276 |