From 4aa6c953988e1cb4ee04c55b3fd18193f9163de6 Mon Sep 17 00:00:00 2001 From: Dimitur Kirov Date: Wed, 31 May 2006 11:45:04 +0000 Subject: [PATCH] don't drop contact in the same group if destination jid belongs to other account --- src/roster_window.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/roster_window.py b/src/roster_window.py index 608a73d73..b85a4a711 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -3168,6 +3168,9 @@ _('If "%s" accepts this request you will know his or her status.') % jid) is_big_brother = False if model.iter_has_child(iter_source): is_big_brother = True + if not c_dest: + # c_dest is None if jid_dest doesn't belong to account + return self.on_drop_in_contact(treeview, account, c_source, c_dest, is_big_brother, context, etime) return