diff options
author | Black Hat <bhat@encom.eu.org> | 2020-01-01 15:44:10 +0800 |
---|---|---|
committer | Black Hat <bhat@encom.eu.org> | 2020-01-01 15:44:10 +0800 |
commit | 285cff6584c48575d4ce49739d7006c21cc91a3f (patch) | |
tree | 68001229aaf2cade8232c5f7d11601e690c89417 /lib | |
parent | d4034fb12b189156e135dcf0fb94960a1d8e9be9 (diff) | |
download | libquotient-285cff6584c48575d4ce49739d7006c21cc91a3f.tar.gz libquotient-285cff6584c48575d4ce49739d7006c21cc91a3f.zip |
Fix linux build
Diffstat (limited to 'lib')
-rw-r--r-- | lib/events/roompowerlevelsevent.cpp | 2 |
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 { |