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)
|
c_dest.jid)
|
||||||
source_family = gajim.contacts.get_metacontacts_family(
|
source_family = gajim.contacts.get_metacontacts_family(
|
||||||
account_source, c_source.jid)
|
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') % (
|
item = Gtk.MenuItem(_('Make %s first contact') % (
|
||||||
c_source.get_shown_name()))
|
c_source.get_shown_name()))
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Reference in a new issue