Fix StartChatDialog

Fixes #8881
This commit is contained in:
Philipp Hörist 2018-02-05 20:55:48 +01:00
parent d8020f18a1
commit 4a65f4aeae
1 changed files with 2 additions and 2 deletions

View File

@ -2836,8 +2836,8 @@ class StartChatDialog(Gtk.ApplicationWindow):
for jid in groupchats:
name = groupchats[jid]
if name is None:
name = app.get_nick_from_jid(groupchats[jid])
if not name:
name = app.get_nick_from_jid(jid)
row = ContactRow(account, None, jid, name,
show_account, True)
self.listbox.add(row)