Chatterino / chatterino2

Chat client for https://twitch.tv
MIT License
2.04k stars 448 forks source link

fix: use login name when parsing highlights #5295

Closed Nerixyz closed 6 months ago

Nerixyz commented 6 months ago

Previously, ircMessage->nick() was used to get the login name. This doesn't return the login name for e.g. announcements (USERNOTICE). Since we already know the login name at that point, we can use message().loginName.

This might trigger more highlights where loginName is set, but the nick is unset/invalid, which was probably a bug before too.

Fixes #5294.