aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_presence.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-03-09 21:50:01 +0100
committerKim Alvefur <zash@zash.se>2018-03-09 21:50:01 +0100
commitbb927767c2e423163bc365a7b895c0207c82d14b (patch)
tree789a64cb4e1f5509a7f327b15de4a4baca074e7e /plugins/mod_presence.lua
parent0fff40cdd9281499a7e984dd842e284c6065f479 (diff)
downloadprosody-bb927767c2e423163bc365a7b895c0207c82d14b.tar.gz
prosody-bb927767c2e423163bc365a7b895c0207c82d14b.zip
mod_presence: Ignore unused argument but make note of its use elsewhere [luacheck]
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 1dcb0aeb..4bce745a 100644
--- a/plugins/mod_presence.lua
+++ b/plugins/mod_presence.lua
@@ -120,6 +120,8 @@ function handle_normal_presence(origin, stanza)
stanza.attr.to = nil; -- reset it
end
+-- luacheck: ignore 212/recipient_session
+-- TODO This argument is used in 3rd party modules
function send_presence_of_available_resources(user, host, jid, recipient_session, stanza)
local h = hosts[host];
local count = 0;