Diff

core/rostermanager.lua @ 6616:5d2346e72716

rostermanager: Remove unused parameter
author Matthew Wild <mwild1@gmail.com>
date Fri, 03 Apr 2015 19:13:35 +0100
parent 6613:2aae36312eb9
child 6622:fb60cee2144e
line wrap: on
line diff
--- a/core/rostermanager.lua	Fri Apr 03 19:52:48 2015 +0200
+++ b/core/rostermanager.lua	Fri Apr 03 19:13:35 2015 +0100
@@ -227,7 +227,7 @@
 	local roster = load_roster(username, host);
 	return roster[false].pending[jid];
 end
-function set_contact_pending_in(username, host, jid, pending)
+function set_contact_pending_in(username, host, jid)
 	local roster = load_roster(username, host);
 	local item = roster[jid];
 	if item and (item.subscription == "from" or item.subscription == "both") then