Remove experimental IRC support (#5547)

This commit is contained in:
pajlada
2024-08-18 14:04:26 +02:00
committed by GitHub
parent cc8bd538b9
commit 998920d244
44 changed files with 478 additions and 2841 deletions
+1 -1
View File
@@ -133,7 +133,7 @@ public:
return nullptr;
}
IAbstractIrcServer *getTwitchAbstract() override
ITwitchIrcServer *getTwitchAbstract() override
{
assert(false && "EmptyApplication::getTwitchAbstract was called "
"without being initialized");
+32
View File
@@ -26,6 +26,38 @@ public:
{
}
void connect() override
{
}
void sendRawMessage(const QString &rawMessage) override
{
}
ChannelPtr getOrAddChannel(const QString &dirtyChannelName) override
{
assert(false && "unimplemented getOrAddChannel in mock irc server");
return {};
}
ChannelPtr getChannelOrEmpty(const QString &dirtyChannelName) override
{
assert(false && "unimplemented getChannelOrEmpty in mock irc server");
return {};
}
void addFakeMessage(const QString &data) override
{
}
void addGlobalSystemMessage(const QString &messageText) override
{
}
void forEachChannel(std::function<void(ChannelPtr)> func) override
{
}
void forEachChannelAndSpecialChannels(
std::function<void(ChannelPtr)> func) override
{