[Fix] Use copy instead of reference for overriding message flags (#2200)
* fix: use copy instead of reference for overriding message flags * doc: update changelog Note: the initial attempt at fixing this issue (#2090) was also included in order to make the development process more trackable.
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@
|
|||||||
- Minor: Added placeholder text for message text input box. (#2143, #2149)
|
- Minor: Added placeholder text for message text input box. (#2143, #2149)
|
||||||
- Minor: Added support for FrankerFaceZ badges. (#2101, part of #1658)
|
- Minor: Added support for FrankerFaceZ badges. (#2101, part of #1658)
|
||||||
- Minor: Added a navigation list to the settings and reordered them.
|
- Minor: Added a navigation list to the settings and reordered them.
|
||||||
- Major: Added "Channel Filters". See https://wiki.chatterino.com/Filters/ for how they work or how to configure them. (#1748, #2083)
|
- Major: Added "Channel Filters". See https://wiki.chatterino.com/Filters/ for how they work or how to configure them. (#1748, #2083, #2090, #2200)
|
||||||
- Major: Added Streamer Mode configuration (under `Settings -> General`), where you can select which features of Chatterino should behave differently when you are in Streamer Mode. (#2001)
|
- Major: Added Streamer Mode configuration (under `Settings -> General`), where you can select which features of Chatterino should behave differently when you are in Streamer Mode. (#2001)
|
||||||
- Minor: Improved viewer list window.
|
- Minor: Improved viewer list window.
|
||||||
- Minor: Added emote completion with `:` to the whispers channel (#2075)
|
- Minor: Added emote completion with `:` to the whispers channel (#2075)
|
||||||
|
|||||||
@@ -605,7 +605,7 @@ void ChannelView::setChannel(ChannelPtr underlyingChannel)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
overridingFlags = message->flags;
|
overridingFlags = MessageFlags(message->flags);
|
||||||
overridingFlags.get().set(MessageFlag::DoNotLog);
|
overridingFlags.get().set(MessageFlag::DoNotLog);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user