Fix cancel reply

This commit is contained in:
James Graham
2026-02-08 14:52:46 +00:00
parent 60cf12524f
commit 3aa4a915b1

View File

@@ -81,9 +81,8 @@ void ChatBarMessageContentModel::connectCache(ChatBarCache *oldCache)
return; return;
} }
const auto currentCache = m_room->cacheForType(m_type); const auto currentCache = m_room->cacheForType(m_type);
if (currentCache->isReplying()) { updateReplyModel();
updateReplyModel(); if (currentCache->isEditing()) {
} else if (currentCache->isEditing()) {
initializeFromCache(); initializeFromCache();
} }
}); });