parent
73f290b518
commit
3b7055ca74
|
@ -1975,13 +1975,11 @@ class GroupchatControl(ChatControlBase):
|
||||||
and (not obj.status_code or '303' not in obj.status_code) and not \
|
and (not obj.status_code or '303' not in obj.status_code) and not \
|
||||||
right_changed:
|
right_changed:
|
||||||
st = ''
|
st = ''
|
||||||
print_status = None
|
con = app.connections[self.account]
|
||||||
for bookmark in app.connections[self.account].bookmarks:
|
bookmarks = con.get_module('Bookmarks').bookmarks
|
||||||
if bookmark['jid'] == self.room_jid:
|
bookmark = bookmarks.get(self.room_jid, None)
|
||||||
print_status = bookmark.get('print_status', None)
|
print_status = bookmark.get(
|
||||||
break
|
'print_status', app.config.get('print_status_in_muc'))
|
||||||
if not print_status:
|
|
||||||
print_status = app.config.get('print_status_in_muc')
|
|
||||||
if obj.show == 'offline':
|
if obj.show == 'offline':
|
||||||
if obj.nick in self.attention_list:
|
if obj.nick in self.attention_list:
|
||||||
self.attention_list.remove(obj.nick)
|
self.attention_list.remove(obj.nick)
|
||||||
|
|
Loading…
Reference in New Issue