From aa5ece8bfb0d02e584beed918012f1c7902a7dd1 Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Fri, 10 Jan 2025 11:05:25 +0100 Subject: [PATCH] Expose ProgressInfoRole also for other type of attachments --- src/models/messageeventmodel.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/models/messageeventmodel.cpp b/src/models/messageeventmodel.cpp index d06869f27..eaa106209 100644 --- a/src/models/messageeventmodel.cpp +++ b/src/models/messageeventmodel.cpp @@ -505,7 +505,8 @@ QVariant MessageEventModel::data(const QModelIndex &idx, int role) const if (role == ProgressInfoRole) { if (auto e = eventCast(&evt)) { - if (e->has()) { + if (e->has() || e->has() || e->has() + || e->has()) { return QVariant::fromValue(m_currentRoom->cachedFileTransferInfo(&evt)); } }