test: add snapshot tests for MessageBuilder (#5598)
This commit is contained in:
@@ -95,11 +95,11 @@ bool IgnorePhrase::containsEmote() const
|
||||
{
|
||||
if (!this->emotesChecked_)
|
||||
{
|
||||
const auto &accvec = getApp()->getAccounts()->twitch.accounts;
|
||||
for (const auto &acc : accvec)
|
||||
auto accemotes =
|
||||
getApp()->getAccounts()->twitch.getCurrent()->accessEmotes();
|
||||
if (*accemotes)
|
||||
{
|
||||
const auto &accemotes = *acc->accessEmotes();
|
||||
for (const auto &emote : *accemotes)
|
||||
for (const auto &emote : **accemotes)
|
||||
{
|
||||
if (this->replace_.contains(emote.first.string,
|
||||
Qt::CaseSensitive))
|
||||
|
||||
Reference in New Issue
Block a user