aboutsummaryrefslogtreecommitdiff
path: root/lib/room.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2020-11-12 18:51:35 +0100
committerKitsune Ral <Kitsune-Ral@users.sf.net>2020-11-12 18:51:35 +0100
commit4cc8838c3bbe712493a4f6ddbecd0f7093e907bb (patch)
treea0efd33b273d044acf380b1f1370cf27d50c6c96 /lib/room.cpp
parent39b80fa8eb9b70d287aa453663b845319d8b6196 (diff)
downloadlibquotient-4cc8838c3bbe712493a4f6ddbecd0f7093e907bb.tar.gz
libquotient-4cc8838c3bbe712493a4f6ddbecd0f7093e907bb.zip
More JSON key constants
Diffstat (limited to 'lib/room.cpp')
-rw-r--r--lib/room.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/room.cpp b/lib/room.cpp
index e98116a9..57de4f0c 100644
--- a/lib/room.cpp
+++ b/lib/room.cpp
@@ -2064,8 +2064,8 @@ RoomEventPtr makeRedacted(const RoomEvent& target,
{
auto originalJson = target.originalJsonObject();
// clang-format off
- static const QStringList keepKeys { EventIdKey, TypeKey,
- QStringLiteral("room_id"), QStringLiteral("sender"), StateKeyKey,
+ static const QStringList keepKeys {
+ EventIdKey, TypeKey, RoomIdKey, SenderKey, StateKeyKey,
QStringLiteral("hashes"), QStringLiteral("signatures"),
QStringLiteral("depth"), QStringLiteral("prev_events"),
QStringLiteral("prev_state"), QStringLiteral("auth_events"),