aboutsummaryrefslogtreecommitdiff
path: root/lib/events/roommessageevent.cpp
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-09-03 19:12:42 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-09-04 18:42:11 +0200
commit80499cc7619bb857c284e6e89db728ccee9c61f6 (patch)
tree5405d7ed5f6128157a2e39de0c8621141f490831 /lib/events/roommessageevent.cpp
parent3fa9afc796788e0c7f44db15c21a5ba1294d3b2d (diff)
downloadlibquotient-80499cc7619bb857c284e6e89db728ccee9c61f6.tar.gz
libquotient-80499cc7619bb857c284e6e89db728ccee9c61f6.zip
More cleanup
Diffstat (limited to 'lib/events/roommessageevent.cpp')
-rw-r--r--lib/events/roommessageevent.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/events/roommessageevent.cpp b/lib/events/roommessageevent.cpp
index db5afaf1..df4840b3 100644
--- a/lib/events/roommessageevent.cpp
+++ b/lib/events/roommessageevent.cpp
@@ -128,9 +128,8 @@ QJsonObject RoomMessageEvent::assembleContentJson(const QString& plainBody,
RoomMessageEvent::RoomMessageEvent(const QString& plainBody,
const QString& jsonMsgType,
TypedBase* content)
- : RoomEvent(RoomEvent::basicJson(TypeId,
- assembleContentJson(plainBody, jsonMsgType,
- content)))
+ : RoomEvent(
+ basicJson(TypeId, assembleContentJson(plainBody, jsonMsgType, content)))
, _content(content)
{}