diff options
Diffstat (limited to 'dont_pulse_mentions.patch')
-rw-r--r-- | dont_pulse_mentions.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/dont_pulse_mentions.patch b/dont_pulse_mentions.patch new file mode 100644 index 000000000000..ec978229ff05 --- /dev/null +++ b/dont_pulse_mentions.patch @@ -0,0 +1,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 305f9c71d..c0add9da2 100644 +--- a/Telegram/SourceFiles/history/history_inner_widget.cpp ++++ b/Telegram/SourceFiles/history/history_inner_widget.cpp +@@ -626,7 +626,6 @@ void HistoryInner::paintEvent(QPaintEvent *e) { + } + if (item->isUnreadMention() && !item->isUnreadMedia()) { + readMentions.insert(item); +- _widget->enqueueMessageHighlight(view); + } + + int32 h = view->height(); +@@ -672,7 +671,6 @@ void HistoryInner::paintEvent(QPaintEvent *e) { + } + if (item->isUnreadMention() && !item->isUnreadMedia()) { + readMentions.insert(item); +- _widget->enqueueMessageHighlight(view); + } + } + p.translate(0, h); |