aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Andreyev <aa13q@ya.ru>2019-12-06 14:43:25 +0300
committerAlexey Andreyev <aa13q@ya.ru>2019-12-06 14:43:25 +0300
commitd18324f1a309bea59a0dc681de820c80bd9086e9 (patch)
tree7d8e7112320c54591368e6f5f0d6565e1abbcee3
parent5937127b73a82fc86f6546397373ce9dbaf4e560 (diff)
downloadlibquotient-d18324f1a309bea59a0dc681de820c80bd9086e9.tar.gz
libquotient-d18324f1a309bea59a0dc681de820c80bd9086e9.zip
MSC1954: Remove prev_content from the essential keys list
Fixes #318
-rw-r--r--lib/room.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/room.cpp b/lib/room.cpp
index be07ce50..edf732ff 100644
--- a/lib/room.cpp
+++ b/lib/room.cpp
@@ -1937,7 +1937,6 @@ RoomEventPtr makeRedacted(const RoomEvent& target,
// clang-format off
static const QStringList keepKeys { EventIdKey, TypeKey,
QStringLiteral("room_id"), QStringLiteral("sender"), StateKeyKey,
- QStringLiteral("prev_content"), ContentKey,
QStringLiteral("hashes"), QStringLiteral("signatures"),
QStringLiteral("depth"), QStringLiteral("prev_events"),
QStringLiteral("prev_state"), QStringLiteral("auth_events"),