Software / code / prosody
Changeset
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 |
| parents | 10555:f73947a9bd8c |
| children | 10557:e1cb869e2f6c |
| files | plugins/mod_presence.lua |
| diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
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