Hide CallCandidates again in new store

This commit is contained in:
Nicolas Werner 2020-08-17 23:30:36 +02:00
parent de7ec4d2b3
commit 7f7108161e
4 changed files with 43 additions and 3 deletions

View file

@ -136,6 +136,11 @@ struct RoomEventType
{
return qml_mtx_events::EventType::CallHangUp;
}
qml_mtx_events::EventType operator()(
const mtx::events::Event<mtx::events::msg::CallCandidates> &)
{
return qml_mtx_events::EventType::CallCandidates;
}
// ::EventType::Type operator()(const Event<mtx::events::msg::Location> &e) { return
// ::EventType::LocationMessage; }
};
@ -1122,7 +1127,6 @@ struct SendMessageVisitor
}
}
// Do-nothing operator for all unhandled events
template<typename T>
void operator()(const mtx::events::Event<T> &)