diff options
Diffstat (limited to 'src/timeline/TimelineModel.cpp')
-rw-r--r-- | src/timeline/TimelineModel.cpp | 6 |
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, |