Diff

core/rostermanager.lua @ 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
parent 7949:8acc35b5355a
child 8356:bbd18b617296
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)