fix: close logging-channels when closing channels (#5592)

Co-authored-by: kornes <28986062+kornes@users.noreply.github.com>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
nerix
2024-09-14 12:17:31 +02:00
committed by GitHub
parent 2afa227139
commit 694cc2dbff
13 changed files with 106 additions and 15 deletions
+10
View File
@@ -18,6 +18,10 @@ public:
(const QString &channelName, MessagePtr message,
const QString &platformName, const QString &streamID),
(override));
MOCK_METHOD(void, closeChannel,
(const QString &channelName, const QString &platformName),
(override));
};
class EmptyLogging : public ILogging
@@ -32,6 +36,12 @@ public:
{
//
}
void closeChannel(const QString &channelName,
const QString &platformName) override
{
//
}
};
} // namespace chatterino::mock