aboutsummaryrefslogtreecommitdiff
path: root/lib/events/roompowerlevelsevent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/events/roompowerlevelsevent.cpp')
-rw-r--r--lib/events/roompowerlevelsevent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/events/roompowerlevelsevent.cpp b/lib/events/roompowerlevelsevent.cpp
index 98588142..c2721595 100644
--- a/lib/events/roompowerlevelsevent.cpp
+++ b/lib/events/roompowerlevelsevent.cpp
@@ -28,7 +28,7 @@ void PowerLevelsEventContent::fillJson(QJsonObject* o) const {
o->insert(QStringLiteral("state_default"), stateDefault);
o->insert(QStringLiteral("users"), Quotient::toJson(users));
o->insert(QStringLiteral("users_default"), usersDefault);
- o->insert(QStringLiteral("notifications"), {{"room", notifications.room}});
+ o->insert(QStringLiteral("notifications"), QJsonObject{{"room", notifications.room}});
}
int RoomPowerLevelsEvent::powerLevelForEvent(const QString &eventId) const {