aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-12-23 22:30:21 +0100
committerKim Alvefur <zash@zash.se>2019-12-23 22:30:21 +0100
commit64ccf28f856ee689571855af9594d4f419ef9511 (patch)
tree92aeadc1df9dce2df2b4a087b3755e5adfc95633 /plugins
parent45b0ace82a72a06e5d558001e5352b6b9a2d5c41 (diff)
downloadprosody-64ccf28f856ee689571855af9594d4f419ef9511.tar.gz
prosody-64ccf28f856ee689571855af9594d4f419ef9511.zip
mod_presence: Ignore an unused variable [luacheck]
Not sure if it should be unused, hence the TODO
Diffstat (limited to 'plugins')
-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 b874277c..e69c31a5 100644
--- a/plugins/mod_presence.lua
+++ b/plugins/mod_presence.lua
@@ -192,6 +192,8 @@ function handle_outbound_presence_subscriptions_and_probes(origin, stanza, from_
-- 1. send unavailable
-- 2. route stanza
-- 3. roster push (subscription = from or both)
+ -- luacheck: ignore 211/pending_in
+ -- Is pending_in meant to be used?
local success, pending_in, subscribed = rostermanager.unsubscribed(node, host, to_bare);
if success then
if subscribed then