changeset 4f2c3b099efe in /home/hg/repos/gajim
author: Yann Leboulanger asterix@lagaule.org branches: details:http://hg.gajim.org/gajim?cmd=changeset;node=4f2c3b099efe description: prevent traceback. Fixes #7960
diffstat:
src/roster_window.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diffs (13 lines):
diff -r 975912558ebf -r 4f2c3b099efe src/roster_window.py --- a/src/roster_window.py Sat Mar 07 15:04:41 2015 +0100 +++ b/src/roster_window.py Sat Mar 07 21:03:25 2015 +0100 @@ -990,6 +990,9 @@
# 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)