summarylogtreecommitdiffstats
path: root/dont_pulse_mentions.patch
diff options
context:
space:
mode:
authorDan Elkouby2020-03-28 12:41:23 +0300
committerDan Elkouby2020-03-28 12:41:23 +0300
commitcbf941abbf375331e75f8f14bd8572420d364a6c (patch)
treeadca1290426eb8df939fe927eba143c73e3dac79 /dont_pulse_mentions.patch
parenteb95930572e2a1106c60538a5c39088578c70363 (diff)
downloadaur-cbf941abbf375331e75f8f14bd8572420d364a6c.tar.gz
Update to 1.9.22
Diffstat (limited to 'dont_pulse_mentions.patch')
-rw-r--r--dont_pulse_mentions.patch16
1 files changed, 8 insertions, 8 deletions
diff --git a/dont_pulse_mentions.patch b/dont_pulse_mentions.patch
index ec978229ff05..fe317d7daad4 100644
--- a/dont_pulse_mentions.patch
+++ b/dont_pulse_mentions.patch
@@ -2,10 +2,10 @@ 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
+index 67ae34198..341ce398a 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) {
+@@ -630,7 +630,6 @@ void HistoryInner::paintEvent(QPaintEvent *e) {
}
if (item->isUnreadMention() && !item->isUnreadMedia()) {
readMentions.insert(item);
@@ -13,11 +13,11 @@ index 305f9c71d..c0add9da2 100644
}
int32 h = view->height();
-@@ -672,7 +671,6 @@ void HistoryInner::paintEvent(QPaintEvent *e) {
- }
- if (item->isUnreadMention() && !item->isUnreadMedia()) {
- readMentions.insert(item);
-- _widget->enqueueMessageHighlight(view);
+@@ -686,7 +685,6 @@ void HistoryInner::paintEvent(QPaintEvent *e) {
+ }
+ if (item->isUnreadMention() && !item->isUnreadMedia()) {
+ readMentions.insert(item);
+- _widget->enqueueMessageHighlight(view);
+ }
}
}
- p.translate(0, h);