changeset ada1a31b497b in /home/hg/repos/gajim
author: Yann Leboulanger <[email protected]>
branches:
details:http://hg.gajim.org/gajim?cmd=changeset;node=ada1a31b497b
description: don't traceback when we try to open a remembered chat window from
a contact not in roster
diffstat:
src/roster_window.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r 6c66936576e5 -r ada1a31b497b src/roster_window.py
--- a/src/roster_window.py Wed Apr 09 17:04:03 2014 +0200
+++ b/src/roster_window.py Wed Apr 09 17:56:09 2014 +0200
@@ -2655,7 +2655,8 @@
gajim.contacts.get_contact_with_highest_priority(
account, jid)
if not contact:
- continue
+ contact = self.add_to_not_in_the_roster(account,
+ jid)
gajim.interface.on_open_chat_window(None, contact,
account)
gajim.config.set_per('accounts', account,
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits