rostermanager: Use correct variable (missed one place while renaming variable in b98006bfd97a)
authorKim Alvefur <zash@zash.se>
Thu, 18 May 2017 01:59:55 +0200
changeset 8150 d44c6582059d
parent 8148 4d0f5ea19851
child 8151 472219f85df6
child 8152 1dc6efcc420a
rostermanager: Use correct variable (missed one place while renaming variable in b98006bfd97a)
core/rostermanager.lua
--- a/core/rostermanager.lua	Tue May 16 17:52:29 2017 +0200
+++ b/core/rostermanager.lua	Thu May 18 01:59:55 2017 +0200
@@ -329,7 +329,7 @@
 		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)