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;
}
const auto currentCache = m_room->cacheForType(m_type);
if (currentCache->isReplying()) {
updateReplyModel();
} else if (currentCache->isEditing()) {
updateReplyModel();
if (currentCache->isEditing()) {
initializeFromCache();
}
});