diff --git a/src/timeline/TimelineModel.cpp b/src/timeline/TimelineModel.cpp index aaaf7d4ae2ca0ec8c689df03e6f3c5193e31fe2e..26a2f72eb8f8a34a1ee434066616ff875a3053a9 100644 --- a/src/timeline/TimelineModel.cpp +++ b/src/timeline/TimelineModel.cpp @@ -1593,7 +1593,8 @@ TimelineModel::addPendingMessage(mtx::events::collections::TimelineEvents event) QString txn_id_qstr = QString::fromStdString(mtx::accessors::event_id(event)); pending.push_back(txn_id_qstr); - if (!std::get_if<mtx::events::RoomEvent<mtx::events::msg::Reaction>>(&event)) { + if (!std::get_if<mtx::events::RoomEvent<mtx::events::msg::Reaction>>(&event) && + !std::get_if<mtx::events::RoomEvent<mtx::events::msg::CallCandidates>>(&event)) { beginInsertRows(QModelIndex(), 0, 0); this->eventOrder.insert(this->eventOrder.begin(), txn_id_qstr); endInsertRows();