From bfa1f9f053f58e97222df97d2413e7e48e3d9587 Mon Sep 17 00:00:00 2001 From: Akseli Lahtinen Date: Mon, 19 May 2025 20:48:24 +0300 Subject: [PATCH] Load stickers properly This fixes stickers not loading, similar to the patch at https://invent.kde.org/network/neochat/-/commit/0cc14f710dc3701971249d9b2d7d6f8362a26163 --- src/models/messagemodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/messagemodel.cpp b/src/models/messagemodel.cpp index 48bd140a4..bc3062a79 100644 --- a/src/models/messagemodel.cpp +++ b/src/models/messagemodel.cpp @@ -121,7 +121,7 @@ QVariant MessageModel::data(const QModelIndex &idx, int role) const } if (role == ContentModelRole) { - if (event->get().is()) { + if (event->get().is() || event->get().is()) { return QVariant::fromValue(m_room->contentModelForEvent(event->get().id())); }