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:
pajlada
2020-11-28 15:03:36 +01:00
committed by GitHub
parent fe95f0aa45
commit 1a4d4dca79
2 changed files with 2 additions and 0 deletions
@@ -738,6 +738,7 @@ void TwitchMessageBuilder::runIgnoreReplaces(
if (index >= pos)
{
index += by;
item.end += by;
}
}
};