Diff

plugins/mod_presence.lua @ 10556:79fe4ed1332b

mod_presence: Ignore an unused variable [luacheck] Not sure if it should be unused, hence the TODO
author Kim Alvefur <zash@zash.se>
date Mon, 23 Dec 2019 22:30:21 +0100
parent 10514:f0e9e5bda415
child 10694:0cda5d597607
line wrap: on
line diff
--- a/plugins/mod_presence.lua	Mon Dec 23 22:29:13 2019 +0100
+++ b/plugins/mod_presence.lua	Mon Dec 23 22:30:21 2019 +0100
@@ -192,6 +192,8 @@
 		-- 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