aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2020-03-24 07:53:31 +0100
committerKitsune Ral <Kitsune-Ral@users.sf.net>2020-03-25 22:35:23 +0100
commit24be625ff62601ac8c61a4269b5fbe7d8405dae7 (patch)
tree9566ac3660b3c5e91231bdd14d11b5f77fa1050d /lib
parentfe1a7c61a81ff4820645ecafccd693ea0a887d36 (diff)
downloadlibquotient-24be625ff62601ac8c61a4269b5fbe7d8405dae7.tar.gz
libquotient-24be625ff62601ac8c61a4269b5fbe7d8405dae7.zip
Redaction: update essential keys list
No more special: - prev_content (MSC1954, fixes #318) - aliases (follow up on MSC2432)
Diffstat (limited to 'lib')
-rw-r--r--lib/room.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/room.cpp b/lib/room.cpp
index 022a3bed..3d16f285 100644
--- a/lib/room.cpp
+++ b/lib/room.cpp
@@ -1925,7 +1925,6 @@ RoomEventPtr makeRedacted(const RoomEvent& target,
static const QStringList keepKeys {
EventIdKey, TypeKey, QStringLiteral("room_id"),
QStringLiteral("sender"), QStringLiteral("state_key"),
- QStringLiteral("prev_content"), ContentKey,
QStringLiteral("hashes"), QStringLiteral("signatures"),
QStringLiteral("depth"), QStringLiteral("prev_events"),
QStringLiteral("prev_state"), QStringLiteral("auth_events"),
@@ -1942,7 +1941,6 @@ RoomEventPtr makeRedacted(const RoomEvent& target,
// QStringLiteral("events_default"), QStringLiteral("kick"),
// QStringLiteral("redact"), QStringLiteral("state_default"),
// QStringLiteral("users"), QStringLiteral("users_default") } }
- , { RoomAliasesEvent::typeId(), { QStringLiteral("aliases") } }
// , { RoomHistoryVisibility::typeId(),
// { QStringLiteral("history_visibility") } }
};