added room mode selector for mods again
This commit is contained in:
@@ -197,12 +197,6 @@ bool TwitchChannel::isBroadcaster() const
|
||||
return this->name == app->accounts->twitch.getCurrent()->getUserName();
|
||||
}
|
||||
|
||||
bool TwitchChannel::hasModRights()
|
||||
{
|
||||
// fourtf: check if staff
|
||||
return this->isMod() || this->isBroadcaster();
|
||||
}
|
||||
|
||||
void TwitchChannel::addRecentChatter(const std::shared_ptr<Message> &message)
|
||||
{
|
||||
assert(!message->loginName.isEmpty());
|
||||
|
||||
@@ -54,10 +54,9 @@ public:
|
||||
bool canSendMessage() const override;
|
||||
void sendMessage(const QString &message) override;
|
||||
|
||||
bool isMod() const override;
|
||||
virtual bool isMod() const override;
|
||||
void setMod(bool value);
|
||||
bool isBroadcaster() const override;
|
||||
bool hasModRights();
|
||||
virtual bool isBroadcaster() const override;
|
||||
|
||||
void addRecentChatter(const std::shared_ptr<Message> &message) final;
|
||||
void addJoinedUser(const QString &user);
|
||||
|
||||
Reference in New Issue
Block a user