aboutsummaryrefslogtreecommitdiffstats
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
commit77daebcbc2b412173ac9a41dd5327ff269902f90 (patch)
tree92aeadc1df9dce2df2b4a087b3755e5adfc95633
parent1bd2db0a6c060dc2faf3421811c3eaffee498233 (diff)
downloadprosody-77daebcbc2b412173ac9a41dd5327ff269902f90.tar.gz
prosody-77daebcbc2b412173ac9a41dd5327ff269902f90.zip
mod_presence: Ignore an unused variable [luacheck]
Not sure if it should be unused, hence the TODO
-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