show correct menuitem when no metacontact exist.
This commit is contained in:
parent
d270c45fff
commit
0df292620b
1 changed files with 1 additions and 1 deletions
|
@ -4845,7 +4845,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…
Add table
Reference in a new issue