mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Fixed emote pasting bug with multiple spaces (#2490)
This commit is contained in:
parent
30f3035dc2
commit
b2aa370015
2 changed files with 7 additions and 1 deletions
|
@ -60,7 +60,7 @@
|
|||
- Bugfix: /usercard command will now respect the "Automatically close user popup" setting (#1918)
|
||||
- Bugfix: Handle symlinks properly when saving commands & settings (#1856, #1908)
|
||||
- Bugfix: Starting Chatterino in a minimized state after an update will no longer cause a crash
|
||||
- Bugfix: Modify the emote parsing to handle some edge-cases with dots and stuff (#1704, #1714)
|
||||
- Bugfix: Modify the emote parsing to handle some edge-cases with dots and stuff. (#1704, #1714, #2490)
|
||||
- Bugfix: Fixed timestamps being incorrect on some messages loaded from the recent-messages service on startup (#1286, #2020)
|
||||
- Bugfix: Fixed timestamps missing on channel point redemption messages (#1943)
|
||||
- Bugfix: Fixed tooltip didn't show in `EmotePopup` depending on the `Link preview` setting enabled or no (#2008)
|
||||
|
|
|
@ -366,6 +366,12 @@ void TwitchMessageBuilder::addWords(
|
|||
|
||||
for (auto word : words)
|
||||
{
|
||||
if (word.isEmpty())
|
||||
{
|
||||
cursor++;
|
||||
continue;
|
||||
}
|
||||
|
||||
while (doesWordContainATwitchEmote(cursor, word, twitchEmotes,
|
||||
currentTwitchEmoteIt))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue