blob: fe317d7daad47745e40ed84c3b6dc987fff76bfc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
Description: disables visual distractions from incoming mentions
Credits: novie
diff --git a/Telegram/SourceFiles/history/history_inner_widget.cpp b/Telegram/SourceFiles/history/history_inner_widget.cpp
index 67ae34198..341ce398a 100644
--- a/Telegram/SourceFiles/history/history_inner_widget.cpp
+++ b/Telegram/SourceFiles/history/history_inner_widget.cpp
@@ -630,7 +630,6 @@ void HistoryInner::paintEvent(QPaintEvent *e) {
}
if (item->isUnreadMention() && !item->isUnreadMedia()) {
readMentions.insert(item);
- _widget->enqueueMessageHighlight(view);
}
int32 h = view->height();
@@ -686,7 +685,6 @@ void HistoryInner::paintEvent(QPaintEvent *e) {
}
if (item->isUnreadMention() && !item->isUnreadMedia()) {
readMentions.insert(item);
- _widget->enqueueMessageHighlight(view);
}
}
}
|