changeset defe37989ddf in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=defe37989ddf description: prevent bug when merging metacontacts
diffstat:
src/roster_window.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diffs (13 lines):
diff -r 61291a23d3d4 -r defe37989ddf src/roster_window.py --- a/src/roster_window.py Tue Dec 29 00:01:55 2009 +0100 +++ b/src/roster_window.py Tue Dec 29 16:02:50 2009 +0100 @@ -3988,6 +3988,9 @@ _account = data['account'] _jid = data['jid'] _contact = gajim.contacts.get_first_contact_from_jid(_account, _jid) + if not _contact: + # One of the metacontacts may be not connected. + continue
_contact.groups = c_dest.groups[:] gajim.contacts.add_metacontact(account_dest, c_dest.jid,