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:
@@ -738,6 +738,7 @@ void TwitchMessageBuilder::runIgnoreReplaces(
|
||||
if (index >= pos)
|
||||
{
|
||||
index += by;
|
||||
item.end += by;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user