diff options
author | Kim Alvefur <zash@zash.se> | 2017-10-29 00:07:18 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-10-29 00:07:18 +0200 |
commit | 1ba31ce34d74feeb3de0db2c3093fb7f99a5c3b0 (patch) | |
tree | d75c80417a93d144aae83baeab02af99ed32ae3f /core/rostermanager.lua | |
parent | 1925151837c00dd072dc1524853e07a7eebb382b (diff) | |
download | prosody-1ba31ce34d74feeb3de0db2c3093fb7f99a5c3b0.tar.gz prosody-1ba31ce34d74feeb3de0db2c3093fb7f99a5c3b0.zip |
rostermanager: Use internal method for storing removal of self-contact
Diffstat (limited to 'core/rostermanager.lua')
-rw-r--r-- | core/rostermanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/rostermanager.lua b/core/rostermanager.lua index 6acc1003..dda69e7c 100644 --- a/core/rostermanager.lua +++ b/core/rostermanager.lua @@ -116,7 +116,7 @@ local function load_roster(username, host) if roster[jid] then roster[jid] = nil; log("debug", "Roster for %s had a self-contact, removing", jid); - roster_store:set(username, roster); + save_roster(username, host, roster, jid); end if not err then hosts[host].events.fire_event("roster-load", { username = username, host = host, roster = roster }); |