Fix cancel reply
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user