mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Fix usercards showing all messages in IRC channels (#2979)
This commit is contained in:
parent
e041506dbd
commit
24aee42171
2 changed files with 3 additions and 1 deletions
|
@ -10,6 +10,7 @@
|
||||||
- Bugfix: Middle mouse click no longer scrolls in not fully populated usercards and splits. (#2933)
|
- 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: 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: 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
|
## 2.3.3
|
||||||
|
|
||||||
|
|
|
@ -74,6 +74,7 @@ void IrcMessageBuilder::appendUsername()
|
||||||
|
|
||||||
QString username = this->userName;
|
QString username = this->userName;
|
||||||
this->message().loginName = username;
|
this->message().loginName = username;
|
||||||
|
this->message().displayName = username;
|
||||||
|
|
||||||
// The full string that will be rendered in the chat widget
|
// The full string that will be rendered in the chat widget
|
||||||
QString usernameText = username;
|
QString usernameText = username;
|
||||||
|
@ -85,7 +86,7 @@ void IrcMessageBuilder::appendUsername()
|
||||||
|
|
||||||
this->emplace<TextElement>(usernameText, MessageElementFlag::Username,
|
this->emplace<TextElement>(usernameText, MessageElementFlag::Username,
|
||||||
this->usernameColor_, FontStyle::ChatMediumBold)
|
this->usernameColor_, FontStyle::ChatMediumBold)
|
||||||
->setLink({Link::UserInfo, this->message().displayName});
|
->setLink({Link::UserInfo, this->message().loginName});
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace chatterino
|
} // namespace chatterino
|
||||||
|
|
Loading…
Reference in a new issue