Comparison

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
comparison
equal deleted inserted replaced
6615:8e4572a642cb 6616:5d2346e72716
225 225
226 function is_contact_pending_in(username, host, jid) 226 function is_contact_pending_in(username, host, jid)
227 local roster = load_roster(username, host); 227 local roster = load_roster(username, host);
228 return roster[false].pending[jid]; 228 return roster[false].pending[jid];
229 end 229 end
230 function set_contact_pending_in(username, host, jid, pending) 230 function set_contact_pending_in(username, host, jid)
231 local roster = load_roster(username, host); 231 local roster = load_roster(username, host);
232 local item = roster[jid]; 232 local item = roster[jid];
233 if item and (item.subscription == "from" or item.subscription == "both") then 233 if item and (item.subscription == "from" or item.subscription == "both") then
234 return; -- false 234 return; -- false
235 end 235 end