Overhaul highlight system (#3399)
Checks have been moved into a Controller allowing for easier tests.
This commit is contained in:
@@ -264,6 +264,7 @@ void IrcMessageHandler::addMessage(Communi::IrcMessage *_message,
|
||||
MessageParseArgs args;
|
||||
if (isSub)
|
||||
{
|
||||
args.isSubscriptionMessage = true;
|
||||
args.trimSubscriberUsername = true;
|
||||
}
|
||||
|
||||
|
||||
@@ -125,7 +125,7 @@ bool TwitchAccount::isAnon() const
|
||||
void TwitchAccount::loadBlocks()
|
||||
{
|
||||
getHelix()->loadBlocks(
|
||||
getApp()->accounts->twitch.getCurrent()->userId_,
|
||||
getIApp()->getAccounts()->twitch.getCurrent()->userId_,
|
||||
[this](std::vector<HelixBlock> blocks) {
|
||||
auto ignores = this->ignores_.access();
|
||||
auto userIds = this->ignoresUserIds_.access();
|
||||
|
||||
Reference in New Issue
Block a user