Comparison

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
comparison
equal deleted inserted replaced
8145:4d0f5ea19851 8147:d44c6582059d
327 item.subscription = "to"; 327 item.subscription = "to";
328 is_subscribed = true; 328 is_subscribed = true;
329 end 329 end
330 end 330 end
331 local success = (pending or is_subscribed) and save_roster(username, host, roster, jid); 331 local success = (pending or is_subscribed) and save_roster(username, host, roster, jid);
332 return success, pending, subscribed; 332 return success, pending, is_subscribed;
333 end 333 end
334 334
335 local function process_outbound_subscription_request(username, host, jid) 335 local function process_outbound_subscription_request(username, host, jid)
336 local roster = load_roster(username, host); 336 local roster = load_roster(username, host);
337 local item = roster[jid]; 337 local item = roster[jid];