Remove comments

master
trilene 4 years ago
parent 9d6cce9fe3
commit 195ba5e5ee
  1. 2
      src/timeline/TimelineModel.cpp

@ -776,7 +776,6 @@ TimelineModel::internalAddEvents(
emit newEncryptedImage(encInfo.value()); emit newEncryptedImage(encInfo.value());
if (emitCallEvents) { if (emitCallEvents) {
// event room_id is not set, apparently due to spec bug
if (auto callInvite = std::get_if< if (auto callInvite = std::get_if<
mtx::events::RoomEvent<mtx::events::msg::CallInvite>>(&e_)) { mtx::events::RoomEvent<mtx::events::msg::CallInvite>>(&e_)) {
callInvite->room_id = room_id_.toStdString(); callInvite->room_id = room_id_.toStdString();
@ -802,7 +801,6 @@ TimelineModel::internalAddEvents(
} }
if (emitCallEvents) { if (emitCallEvents) {
// event room_id is not set, apparently due to spec bug
if (auto callInvite = if (auto callInvite =
std::get_if<mtx::events::RoomEvent<mtx::events::msg::CallInvite>>( std::get_if<mtx::events::RoomEvent<mtx::events::msg::CallInvite>>(
&e)) { &e)) {

Loading…
Cancel
Save