Merge pull request #968 from apa420/apa-adding-broadcaster-to-viewerlist

Added the broadcaster to the viewer list
This commit is contained in:
pajlada 2019-03-01 18:36:34 +01:00 committed by GitHub
commit 1ea4a74518
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -538,10 +538,10 @@ void Split::showViewerList()
auto chattersList = new QListWidget(); auto chattersList = new QListWidget();
auto resultList = new QListWidget(); auto resultList = new QListWidget();
static QStringList labels = {"Moderators", "Staff", "Admins", static QStringList labels = {"Broadcaster", "Moderators", "Staff",
"Global Moderators", "Viewers"}; "Admins", "Global Moderators", "Viewers"};
static QStringList jsonLabels = {"moderators", "staff", "admins", static QStringList jsonLabels = {"broadcaster", "moderators", "staff",
"global_mods", "viewers"}; "admins", "global_mods", "viewers"};
QList<QListWidgetItem *> labelList; QList<QListWidgetItem *> labelList;
for (auto &x : labels) for (auto &x : labels)
{ {