handle ROOMSTATE in read connection too

this fixes the "recent messages not loading" issue
This commit is contained in:
Rasmus Karlsson 2019-09-21 11:45:47 +02:00
parent 8312d4b112
commit 88da9501f7

View file

@ -161,6 +161,11 @@ void TwitchIrcServer::readConnectionMessageReceived(
// Received USERSTATE upon JOINing a channel
handler.handleUserStateMessage(message);
}
else if (command == "ROOMSTATE")
{
// Received ROOMSTATE upon JOINing a channel
handler.handleRoomStateMessage(message);
}
}
void TwitchIrcServer::writeConnectionMessageReceived(