feat: add the ability to unit test some aspects of SplitInput (#5179)
This commit is contained in:
@@ -525,6 +525,11 @@ const IndirectChannel &TwitchIrcServer::getWatchingChannel() const
|
||||
return this->watchingChannel;
|
||||
}
|
||||
|
||||
QString TwitchIrcServer::getLastUserThatWhisperedMe() const
|
||||
{
|
||||
return this->lastUserThatWhisperedMe.get();
|
||||
}
|
||||
|
||||
void TwitchIrcServer::reloadBTTVGlobalEmotes()
|
||||
{
|
||||
getIApp()->getBttvEmotes()->loadEmotes();
|
||||
|
||||
@@ -29,6 +29,8 @@ public:
|
||||
|
||||
virtual const IndirectChannel &getWatchingChannel() const = 0;
|
||||
|
||||
virtual QString getLastUserThatWhisperedMe() const = 0;
|
||||
|
||||
// Update this interface with TwitchIrcServer methods as needed
|
||||
};
|
||||
|
||||
@@ -81,6 +83,8 @@ public:
|
||||
|
||||
const IndirectChannel &getWatchingChannel() const override;
|
||||
|
||||
QString getLastUserThatWhisperedMe() const override;
|
||||
|
||||
protected:
|
||||
void initializeConnection(IrcConnection *connection,
|
||||
ConnectionType type) override;
|
||||
|
||||
Reference in New Issue
Block a user