Commit 23366e67 authored by Yann Leboulanger's avatar Yann Leboulanger

prevent traceback. Fixes #7960

parent 1a795c21
......@@ -976,6 +976,9 @@ class RosterWindow:
# FIXME: maybe move to gajim.py
def remove_newly_added(self, jid, account):
if account not in gajim.newly_added:
# Account has been deleted during the timeout that called us
return
if jid in gajim.newly_added[account]:
gajim.newly_added[account].remove(jid)
self.draw_contact(jid, account)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment