mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Copy message flags to preserve highlights (#2090)
This commit is contained in:
parent
3c6e6446c6
commit
e7c2e1bec2
1 changed files with 2 additions and 1 deletions
|
@ -594,7 +594,8 @@ void ChannelView::setChannel(ChannelPtr underlyingChannel)
|
|||
}
|
||||
else
|
||||
{
|
||||
overridingFlags = MessageFlags(MessageFlag::DoNotLog);
|
||||
overridingFlags = message->flags;
|
||||
overridingFlags.get().set(MessageFlag::DoNotLog);
|
||||
}
|
||||
|
||||
this->channel_->addMessage(message, overridingFlags);
|
||||
|
|
Loading…
Reference in a new issue