fix: make TwitchChannel::cheerEmote const

This commit is contained in:
Rasmus Karlsson 2023-11-18 11:21:37 +01:00
parent 5f08890308
commit b7d9a4874a
2 changed files with 2 additions and 2 deletions

View file

@ -1702,7 +1702,7 @@ std::optional<EmotePtr> TwitchChannel::ffzCustomVipBadge() const
return this->ffzCustomVipBadge_.get();
}
std::optional<CheerEmote> TwitchChannel::cheerEmote(const QString &string)
std::optional<CheerEmote> TwitchChannel::cheerEmote(const QString &string) const
{
auto sets = this->cheerEmoteSets_.access();
for (const auto &set : *sets)

View file

@ -200,7 +200,7 @@ public:
const QString &version) const;
// Cheers
std::optional<CheerEmote> cheerEmote(const QString &string);
std::optional<CheerEmote> cheerEmote(const QString &string) const;
// Replies
/**