Comparison

core/rostermanager.lua @ 8358:f36ff1e0ff80

rostermanager: Capitalize log message
author Kim Alvefur <zash@zash.se>
date Sun, 29 Oct 2017 00:05:26 +0200
parent 8357:8b5d846dc664
child 8359:467ca83e6c0e
comparison
equal deleted inserted replaced
8357:8b5d846dc664 8358:f36ff1e0ff80
113 roster = data or {}; 113 roster = data or {};
114 if user then user.roster = roster; end 114 if user then user.roster = roster; end
115 roster_metadata(roster, err); 115 roster_metadata(roster, err);
116 if roster[jid] then 116 if roster[jid] then
117 roster[jid] = nil; 117 roster[jid] = nil;
118 log("warn", "roster for %s had a self-contact, removing", jid); 118 log("warn", "Roster for %s had a self-contact, removing", jid);
119 roster_store:set(username, roster); 119 roster_store:set(username, roster);
120 end 120 end
121 if not err then 121 if not err then
122 hosts[host].events.fire_event("roster-load", { username = username, host = host, roster = roster }); 122 hosts[host].events.fire_event("roster-load", { username = username, host = host, roster = roster });
123 end 123 end