Changeset

8147:d44c6582059d

rostermanager: Use correct variable (missed one place while renaming variable in b98006bfd97a)
author Kim Alvefur <zash@zash.se>
date Thu, 18 May 2017 01:59:55 +0200
parents 8145:4d0f5ea19851
children 8148:472219f85df6 8149:1dc6efcc420a
files core/rostermanager.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)