summary refs log tree commit diff
path: root/src/timeline/TimelineModel.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-09-25 20:05:08 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2022-09-25 20:05:08 +0200
commit851333a50da846cc458356d763d524750b432ccb (patch)
tree0ff682353637708e8952444662e2890228c66b8b /src/timeline/TimelineModel.cpp
parentAccepted... not Approved (diff)
downloadnheko-851333a50da846cc458356d763d524750b432ccb.tar.xz
Switch to clang-format14
Diffstat (limited to '')
-rw-r--r--src/timeline/TimelineModel.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/timeline/TimelineModel.cpp b/src/timeline/TimelineModel.cpp

index 36e21e53..34568385 100644 --- a/src/timeline/TimelineModel.cpp +++ b/src/timeline/TimelineModel.cpp
@@ -1467,7 +1467,8 @@ struct SendMessageVisitor { explicit SendMessageVisitor(TimelineModel *model) : model_(model) - {} + { + } template<typename T, mtx::events::EventType Event> void sendRoomEvent(mtx::events::RoomEvent<T> msg) @@ -1491,7 +1492,8 @@ 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,