mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Fix issue with VIPs who have Asian Language display names (#4174)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
parent
82797898c1
commit
518262596a
|
@ -2,7 +2,9 @@
|
|||
|
||||
## Unversioned
|
||||
|
||||
## 2.4.0
|
||||
- Bugfix: Fixed being unable to see the usercard of VIPs who have Asian language display names. (#4174)
|
||||
|
||||
## 2.4.0-beta
|
||||
|
||||
- Major: Added support for emotes, badges, and live emote updates from [7TV](https://7tv.app). [Wiki Page](https://wiki.chatterino.com/Third_party_services/#7tv) (#4002, #4062, #4090)
|
||||
- Major: Added support for Right-to-Left Languages (#3958, #4139, #4168)
|
||||
|
|
|
@ -2999,18 +2999,11 @@ void CommandController::initialize(Settings &, Paths &paths)
|
|||
|
||||
auto messagePrefix =
|
||||
QString("The VIPs of this channel are");
|
||||
auto entries = QStringList();
|
||||
|
||||
for (const auto &vip : vipList)
|
||||
{
|
||||
entries.append(vip.userName);
|
||||
}
|
||||
|
||||
entries.sort(Qt::CaseInsensitive);
|
||||
|
||||
// TODO: sort results?
|
||||
MessageBuilder builder;
|
||||
TwitchMessageBuilder::listOfUsersSystemMessage(
|
||||
messagePrefix, entries, twitchChannel, &builder);
|
||||
messagePrefix, vipList, twitchChannel, &builder);
|
||||
|
||||
channel->addMessage(builder.release());
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue