Add a switch for follower only mode (#1241)
* Add a switch follower only mode * Format the code
This commit is contained in:
@@ -196,6 +196,10 @@ void IrcMessageHandler::handleRoomStateMessage(Communi::IrcMessage *message)
|
||||
{
|
||||
roomModes.broadcasterLang = it.value().toString();
|
||||
}
|
||||
if ((it = tags.find("followers-only")) != tags.end())
|
||||
{
|
||||
roomModes.followerOnly = it.value().toInt();
|
||||
}
|
||||
twitchChannel->setRoomModes(roomModes);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user