Use right linter

This commit is contained in:
Nicolas Werner 2022-05-10 03:53:35 +02:00
parent a6b2be112b
commit 90da39313f
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9
28 changed files with 35 additions and 67 deletions

View file

@ -1366,8 +1366,7 @@ struct SendMessageVisitor
{
explicit SendMessageVisitor(TimelineModel *model)
: model_(model)
{
}
{}
template<typename T, mtx::events::EventType Event>
void sendRoomEvent(mtx::events::RoomEvent<T> msg)
@ -1391,8 +1390,7 @@ struct SendMessageVisitor
// Do-nothing operator for all unhandled events
template<typename T>
void operator()(const mtx::events::Event<T> &)
{
}
{}
// Operator for m.room.message events that contain a msgtype in their content
template<typename T,