mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Fix freeze in Ignore & Replace if replacement followed by emote (#2231)
shiftIndicesAfter now also shifts the item end position along with the item start position
This commit is contained in:
parent
fe95f0aa45
commit
1a4d4dca79
|
@ -51,6 +51,7 @@
|
|||
- Bugfix: Fix `:` emote completion menu ignoring emote capitalization (#1962)
|
||||
- Bugfix: Fix a bug that caused `Ignore page` to fall into an infinity loop with an empty pattern and regex enabled (#2125)
|
||||
- Bugfix: Fix a crash casued by FrankerFaceZ responding with invalid emote links (#2191)
|
||||
- Bugfix: Fix a freeze caused by ignored & replaced phrases followed by Twitch Emotes (#2231)
|
||||
- Dev: Updated minimum required Qt framework version to 5.12. (#2210)
|
||||
|
||||
## 2.2.0
|
||||
|
|
|
@ -738,6 +738,7 @@ void TwitchMessageBuilder::runIgnoreReplaces(
|
|||
if (index >= pos)
|
||||
{
|
||||
index += by;
|
||||
item.end += by;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue