From 6e8f064fd02bf60f80bd567a5990c053793f9227 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Sun, 26 Aug 2018 10:38:42 +0200 Subject: [PATCH] ServerInfo: Fix empty version result Fixes #9311 --- gajim/gtk/server_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gajim/gtk/server_info.py b/gajim/gtk/server_info.py index cb81256f7..fcdbb82c4 100644 --- a/gajim/gtk/server_info.py +++ b/gajim/gtk/server_info.py @@ -129,7 +129,7 @@ class ServerInfoDialog(Gtk.Dialog): def _nec_version_result_received(self, obj): if obj.jid != self.hostname: return - self.version = obj.client_info + self.version = obj.client_info or _('Unknown') self.update(self.get_infos, self.info_listbox) def _server_disco_received(self, obj):