From 86b76d00129c92cd0d8d0d921086c4f5b5bf70b1 Mon Sep 17 00:00:00 2001
From: lovetox <philipp@hoerist.com>
Date: Tue, 28 Apr 2020 09:23:52 +0200
Subject: [PATCH] Roster: Don't fail when changing status message

Fixes #10080
---
 gajim/roster_window.py | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/gajim/roster_window.py b/gajim/roster_window.py
index 82c1bec7f7..abb6e99773 100644
--- a/gajim/roster_window.py
+++ b/gajim/roster_window.py
@@ -3375,11 +3375,9 @@ def on_status_combobox_changed(self, widget):
                 'contacts.'))
             self.update_status_combobox()
             return
+
         status = model[active][2]
-        # status "desync'ed" or not
-        statuses_unified = helpers.statuses_unified()
-        if (active == 7 and statuses_unified) or (active == 9 and \
-        not statuses_unified):
+        if status == 'status':
             # 'Change status message' selected:
             # do not change show, just show change status dialog
             status = model[self.previous_status_combobox_active][2]
-- 
GitLab