mod_presence: Ignore an unused variable [luacheck]

Not sure if it should be unused, hence the TODO
This commit is contained in:
Kim Alvefur 2019-12-23 22:30:21 +01:00
parent 1bd2db0a6c
commit 77daebcbc2

View file

@ -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