feat: add initial experimental Twitch Eventsub support (#5837)

Co-authored-by: nerix <nerixdev@outlook.de>
This commit is contained in:
pajlada
2025-02-02 17:03:24 +01:00
committed by GitHub
parent f9f7d47b43
commit 0f8a29fdb9
130 changed files with 19656 additions and 8 deletions
+9 -2
View File
@@ -340,8 +340,15 @@ private:
class MentionElement : public TextElement
{
public:
MentionElement(const QString &displayName, QString loginName_,
MessageColor fallbackColor_, MessageColor userColor_);
explicit MentionElement(const QString &displayName, QString loginName_,
MessageColor fallbackColor_,
MessageColor userColor_);
/// Deprioritized ctor allowing us to pass through a potentially invalid userColor_
///
/// If the userColor_ is invalid, we fall back to the fallbackColor_
template <typename = void>
explicit MentionElement(const QString &displayName, QString loginName_,
MessageColor fallbackColor_, QColor userColor_);
~MentionElement() override = default;
MentionElement(const MentionElement &) = delete;
MentionElement(MentionElement &&) = delete;