mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
handle clearchat in read connection
This commit is contained in:
parent
88da9501f7
commit
d94be74007
|
@ -166,6 +166,10 @@ void TwitchIrcServer::readConnectionMessageReceived(
|
|||
// Received ROOMSTATE upon JOINing a channel
|
||||
handler.handleRoomStateMessage(message);
|
||||
}
|
||||
else if (command == "CLEARCHAT")
|
||||
{
|
||||
handler.handleClearChatMessage(message);
|
||||
}
|
||||
}
|
||||
|
||||
void TwitchIrcServer::writeConnectionMessageReceived(
|
||||
|
@ -193,10 +197,6 @@ void TwitchIrcServer::writeConnectionMessageReceived(
|
|||
{
|
||||
handler.handleRoomStateMessage(message);
|
||||
}
|
||||
else if (command == "CLEARCHAT")
|
||||
{
|
||||
handler.handleClearChatMessage(message);
|
||||
}
|
||||
else if (command == "CLEARMSG")
|
||||
{
|
||||
handler.handleClearMessageMessage(message);
|
||||
|
|
Loading…
Reference in a new issue