summary refs log tree commit diff
path: root/src/timeline/TimelineModel.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-05-10 03:53:35 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2022-05-10 03:53:35 +0200
commit90da39313fd59fddefbb94c8599c47e4a1d7b884 (patch)
treeb0f81e5cae2d66b4b2dfacda55e64a62d66ac012 /src/timeline/TimelineModel.cpp
parentMore image dialog fixes (diff)
downloadnheko-90da39313fd59fddefbb94c8599c47e4a1d7b884.tar.xz
Use right linter
Diffstat (limited to '')
-rw-r--r--src/timeline/TimelineModel.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/timeline/TimelineModel.cpp b/src/timeline/TimelineModel.cpp

index 1e0893b4..142ca793 100644 --- a/src/timeline/TimelineModel.cpp +++ b/src/timeline/TimelineModel.cpp
@@ -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,