ServerInfo: Fix empty version result

Fixes #9311
This commit is contained in:
Philipp Hörist 2018-08-26 10:38:42 +02:00
parent 0bbcc937fd
commit 6e8f064fd0
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ class ServerInfoDialog(Gtk.Dialog):
def _nec_version_result_received(self, obj): def _nec_version_result_received(self, obj):
if obj.jid != self.hostname: if obj.jid != self.hostname:
return return
self.version = obj.client_info self.version = obj.client_info or _('Unknown')
self.update(self.get_infos, self.info_listbox) self.update(self.get_infos, self.info_listbox)
def _server_disco_received(self, obj): def _server_disco_received(self, obj):