Remove pointless local_highlights

An event can only be considered a highlight if a push rule make it so,
thus an event can never be locally highlighted only.
This commit is contained in:
miruka
2020-11-03 06:43:30 -04:00
parent 35a8c0aec4
commit 2ef1edb3dc
8 changed files with 21 additions and 46 deletions

View File

@@ -627,8 +627,7 @@ Rectangle {
(
chat.roomInfo.unreads ||
chat.roomInfo.highlights ||
chat.roomInfo.local_unreads ||
chat.roomInfo.local_highlights
chat.roomInfo.local_unreads
) &&
Qt.application.state === Qt.ApplicationActive &&
eventList.visibleEnd.y > eventList.contentHeight - 100