Try to update the highlight status as well in the backlog event.

Updating the highlight status of a line currently isn't possible in
weechat. Hopefully future weechat versions will allow this.
This commit is contained in:
poljar (Damir Jelić) 2018-02-28 18:30:39 +01:00
parent 0b5ceb8526
commit 0f08584744

View file

@ -284,13 +284,15 @@ class MatrixBacklogEvent(MatrixEvent):
tags = tags_from_line_data(data)
prefix = W.hdata_string(hdata_line_data, data, 'prefix')
message = W.hdata_string(hdata_line_data, data, 'message')
highlight = W.hdata_char(hdata_line_data, data, "highlight")
line_data = {
'date': date,
'date_printed': print_date,
'tags_array': ','.join(tags),
'prefix': prefix,
'message': message
'message': message,
'highlight': highlight
}
lines.append(line_data)