* If the room bookmark has no print_status defined, then default to
configured print_status_in_muc
This commit is contained in:
parent
e58130611d
commit
b82a36083e
|
@ -843,12 +843,9 @@ class GroupchatControl(ChatControlBase):
|
|||
found = False
|
||||
for bookmark in gajim.connections[self.account].bookmarks:
|
||||
if bookmark['jid'] == self.room_jid:
|
||||
found = True
|
||||
break
|
||||
print_status = None
|
||||
if found:
|
||||
print_status=bookmark['print_status']
|
||||
else:
|
||||
break
|
||||
if print_status is None:
|
||||
print_status = gajim.config.get('print_status_in_muc')
|
||||
if show == 'offline' and print_status in ('all', 'in_and_out'):
|
||||
st = _('%s has left') % nick
|
||||
|
|
Loading…
Reference in New Issue