Show custom emoji reactions as per MSC4027

This commit is contained in:
Tobias Fella
2024-02-12 14:11:54 +01:00
parent cd9e98f24b
commit ca57732871
3 changed files with 30 additions and 11 deletions

View File

@@ -71,8 +71,9 @@ private:
const NeoChatRoom *m_room;
const Quotient::RoomMessageEvent *m_event;
QList<Reaction> m_reactions;
QMap<QString, QString> m_shortcodes;
void updateReactions();
static QString reactionText(const QString &text);
QString reactionText(QString text) const;
};
Q_DECLARE_METATYPE(ReactionModel *)