mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
fix: make TwitchChannel::cheerEmote
const
This commit is contained in:
parent
5f08890308
commit
b7d9a4874a
2 changed files with 2 additions and 2 deletions
|
@ -1702,7 +1702,7 @@ std::optional<EmotePtr> TwitchChannel::ffzCustomVipBadge() const
|
||||||
return this->ffzCustomVipBadge_.get();
|
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();
|
auto sets = this->cheerEmoteSets_.access();
|
||||||
for (const auto &set : *sets)
|
for (const auto &set : *sets)
|
||||||
|
|
|
@ -200,7 +200,7 @@ public:
|
||||||
const QString &version) const;
|
const QString &version) const;
|
||||||
|
|
||||||
// Cheers
|
// Cheers
|
||||||
std::optional<CheerEmote> cheerEmote(const QString &string);
|
std::optional<CheerEmote> cheerEmote(const QString &string) const;
|
||||||
|
|
||||||
// Replies
|
// Replies
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue