Fix usercards showing all messages in IRC channels (#2979)
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
- Bugfix: Middle mouse click no longer scrolls in not fully populated usercards and splits. (#2933)
|
||||
- Bugfix: Fix bad behavior of the HTML color picker edit when user input is being entered. (#2942)
|
||||
- Bugfix: Fixed founder badge not being respected by `author.subbed` filter. (#2971)
|
||||
- Bugfix: Usercards on IRC will now only show user's messages. (#1780, #2979)
|
||||
|
||||
## 2.3.3
|
||||
|
||||
|
||||
@@ -74,6 +74,7 @@ void IrcMessageBuilder::appendUsername()
|
||||
|
||||
QString username = this->userName;
|
||||
this->message().loginName = username;
|
||||
this->message().displayName = username;
|
||||
|
||||
// The full string that will be rendered in the chat widget
|
||||
QString usernameText = username;
|
||||
@@ -85,7 +86,7 @@ void IrcMessageBuilder::appendUsername()
|
||||
|
||||
this->emplace<TextElement>(usernameText, MessageElementFlag::Username,
|
||||
this->usernameColor_, FontStyle::ChatMediumBold)
|
||||
->setLink({Link::UserInfo, this->message().displayName});
|
||||
->setLink({Link::UserInfo, this->message().loginName});
|
||||
}
|
||||
|
||||
} // namespace chatterino
|
||||
|
||||
Reference in New Issue
Block a user