From 88da9501f72971a77072fc0b48b2e0551dd86675 Mon Sep 17 00:00:00 2001 From: Rasmus Karlsson Date: Sat, 21 Sep 2019 11:45:47 +0200 Subject: [PATCH] handle ROOMSTATE in read connection too this fixes the "recent messages not loading" issue --- src/providers/twitch/TwitchIrcServer.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/providers/twitch/TwitchIrcServer.cpp b/src/providers/twitch/TwitchIrcServer.cpp index 63a70ed87..b223b5875 100644 --- a/src/providers/twitch/TwitchIrcServer.cpp +++ b/src/providers/twitch/TwitchIrcServer.cpp @@ -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(