Skip to content
Snippets Groups Projects
Commit b82a3608 authored by Alex Mauer's avatar Alex Mauer
Browse files

* If the room bookmark has no print_status defined, then default to

configured print_status_in_muc
parent e5813061
No related branches found
No related tags found
No related merge requests found
...@@ -843,12 +843,9 @@ class GroupchatControl(ChatControlBase): ...@@ -843,12 +843,9 @@ class GroupchatControl(ChatControlBase):
found = False found = False
for bookmark in gajim.connections[self.account].bookmarks: for bookmark in gajim.connections[self.account].bookmarks:
if bookmark['jid'] == self.room_jid: if bookmark['jid'] == self.room_jid:
found = True print_status=bookmark['print_status']
break break
print_status = None if print_status is None:
if found:
print_status = bookmark['print_status']
else:
print_status = gajim.config.get('print_status_in_muc') print_status = gajim.config.get('print_status_in_muc')
if show == 'offline' and print_status in ('all', 'in_and_out'): if show == 'offline' and print_status in ('all', 'in_and_out'):
st = _('%s has left') % nick st = _('%s has left') % nick
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment