From ba1a56c3b7acfbb95f1a5a456ad7ed6c694b8ab8 Mon Sep 17 00:00:00 2001 From: Rasmus Karlsson Date: Sun, 28 Jul 2019 13:18:32 +0200 Subject: [PATCH] Don't early out after replacing a timeout message. Otherwise, this could lead us to not gray out messages after the timeout we're stacking on Work on #1157 --- src/common/Channel.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/Channel.cpp b/src/common/Channel.cpp index caa432752..b7247a462 100644 --- a/src/common/Channel.cpp +++ b/src/common/Channel.cpp @@ -146,7 +146,8 @@ void Channel::addOrReplaceTimeout(MessagePtr message) this->replaceMessage(s, replacement.release()); - return; + addMessage = false; + break; } }