diff --git a/src/roster_window.py b/src/roster_window.py
index ce2536ee91c369a65f7a98ce0054d2a5b73418dd..18316811ed258ffd2c0a6e7cf9bab6a53dfd6069 100644
--- a/src/roster_window.py
+++ b/src/roster_window.py
@@ -1194,9 +1194,9 @@ class RosterWindow:
         # the treeview
         if contact.status and gajim.config.get('show_status_msgs_in_roster'):
             status = contact.status.strip()
-                if status != '':
-                    status = helpers.reduce_chars_newlines(status,
-                        max_lines = 1)
+            if status != '':
+                status = helpers.reduce_chars_newlines(status,
+                    max_lines = 1)
                 # escape markup entities and make them small
                 # italic and fg color color is calcuted to be
                 # always readable