diff --git a/src/timeline/TimelineModel.cpp b/src/timeline/TimelineModel.cpp index 2c97d576..8d68f24c 100644 --- a/src/timeline/TimelineModel.cpp +++ b/src/timeline/TimelineModel.cpp @@ -775,6 +775,15 @@ TimelineModel::internalAddEvents( if (encInfo) emit newEncryptedImage(encInfo.value()); + if (std::holds_alternative< + mtx::events::RoomEvent>(e_)) { + // don't display CallCandidate events to user + events.insert(id, e); + if (emitCallEvents) + emit newCallEvent(e_); + continue; + } + if (emitCallEvents) { if (auto callInvite = std::get_if< mtx::events::RoomEvent>(&e_)) {