Software /
code /
prosody
Comparison
core/rostermanager.lua @ 8359:467ca83e6c0e
rostermanager: Demote warning to debug message
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 29 Oct 2017 00:06:26 +0200 |
parent | 8358:f36ff1e0ff80 |
child | 8360:3a72378c7479 |
comparison
equal
deleted
inserted
replaced
8358:f36ff1e0ff80 | 8359:467ca83e6c0e |
---|---|
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("debug", "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 |