aboutsummaryrefslogtreecommitdiff
path: root/lib/room.cpp
diff options
context:
space:
mode:
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"),