# HG changeset patch # User Kim Alvefur # Date 1509228438 -7200 # Node ID 3a72378c7479a3e738ce7e55e29cb58157514a01 # Parent 467ca83e6c0ee49a3c3432160627d43c0ef8620c rostermanager: Use internal method for storing removal of self-contact diff -r 467ca83e6c0e -r 3a72378c7479 core/rostermanager.lua --- a/core/rostermanager.lua Sun Oct 29 00:06:26 2017 +0200 +++ b/core/rostermanager.lua Sun Oct 29 00:07:18 2017 +0200 @@ -116,7 +116,7 @@ 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 });