From c5fc8dc1c188d9cd1283aabb8848f975cac71d71 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 18 May 2017 01:59:55 +0200 Subject: rostermanager: Use correct variable (missed one place while renaming variable in b98006bfd97a) --- core/rostermanager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/rostermanager.lua b/core/rostermanager.lua index dc60ccdf..c94482c4 100644 --- a/core/rostermanager.lua +++ b/core/rostermanager.lua @@ -329,7 +329,7 @@ local function unsubscribed(username, host, jid) end end local success = (pending or is_subscribed) and save_roster(username, host, roster, jid); - return success, pending, subscribed; + return success, pending, is_subscribed; end local function process_outbound_subscription_request(username, host, jid) -- cgit v1.2.3