aboutsummaryrefslogtreecommitdiffstats
path: root/core/stanza_router.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/stanza_router.lua')
-rw-r--r--core/stanza_router.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/stanza_router.lua b/core/stanza_router.lua
index 905de6e3..5062bc23 100644
--- a/core/stanza_router.lua
+++ b/core/stanza_router.lua
@@ -151,7 +151,6 @@ function core_handle_stanza(origin, stanza)
end
end
--- TODO: Does this function belong here?
function is_authorized_to_see_presence(origin, username, host)
local roster = datamanager.load(username, host, "roster") or {};
local item = roster[origin.username.."@"..origin.host];