Remove comments

This commit is contained in:
trilene 2020-07-13 20:47:34 -04:00
parent 9d6cce9fe3
commit 195ba5e5ee

View file

@ -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)) {