show correct menuitem when no metacontact exist.
This commit is contained in:
parent
8fc8e73361
commit
5a6030116e
|
@ -4827,7 +4827,7 @@ class RosterWindow:
|
|||
c_dest.jid)
|
||||
source_family = gajim.contacts.get_metacontacts_family(
|
||||
account_source, c_source.jid)
|
||||
if dest_family == source_family:
|
||||
if dest_family == source_family and dest_family:
|
||||
item = gtk.MenuItem(_('Make %s first contact') % (
|
||||
c_source.get_shown_name()))
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue