test: add snapshot tests for MessageBuilder (#5598)

This commit is contained in:
nerix
2024-10-13 12:38:10 +02:00
committed by GitHub
parent 3e2116629a
commit d9453313b3
90 changed files with 14661 additions and 218 deletions
+4 -4
View File
@@ -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))