mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
add broadcaster and vips to viewers list and chatters list (#991)
This commit is contained in:
parent
28967cb014
commit
da1b2f91d9
2 changed files with 9 additions and 6 deletions
|
@ -58,8 +58,9 @@ namespace {
|
|||
}
|
||||
std::pair<Outcome, UsernameSet> parseChatters(const QJsonObject &jsonRoot)
|
||||
{
|
||||
static QStringList categories = {"broadcaster", "vips", "moderators", "staff", "admins",
|
||||
"global_mods", "viewers"};
|
||||
static QStringList categories = {"broadcaster", "vips", "moderators",
|
||||
"staff", "admins", "global_mods",
|
||||
"viewers"};
|
||||
|
||||
auto usernames = UsernameSet();
|
||||
|
||||
|
|
|
@ -538,10 +538,12 @@ void Split::showViewerList()
|
|||
auto chattersList = new QListWidget();
|
||||
auto resultList = new QListWidget();
|
||||
|
||||
static QStringList labels = {"Broadcaster", "Moderators", "Staff",
|
||||
"Admins", "Global Moderators", "Viewers"};
|
||||
static QStringList jsonLabels = {"broadcaster", "moderators", "staff",
|
||||
"admins", "global_mods", "viewers"};
|
||||
static QStringList labels = {"Broadcaster", "Vips", "Moderators",
|
||||
"Staff", "Admins", "Global Moderators",
|
||||
"Viewers"};
|
||||
static QStringList jsonLabels = {"broadcaster", "vips", "moderators",
|
||||
"staff", "admins", "global_mods",
|
||||
"viewers"};
|
||||
QList<QListWidgetItem *> labelList;
|
||||
for (auto &x : labels)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue