aboutsummaryrefslogtreecommitdiff
path: root/lib/room.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/room.cpp')
-rw-r--r--lib/room.cpp16
1 files changed, 7 insertions, 9 deletions
diff --git a/lib/room.cpp b/lib/room.cpp
index 57de4f0c..09e3dea2 100644
--- a/lib/room.cpp
+++ b/lib/room.cpp
@@ -2075,16 +2075,14 @@ RoomEventPtr makeRedacted(const RoomEvent& target,
std::vector<std::pair<Event::Type, QStringList>> keepContentKeysMap {
{ RoomMemberEvent::typeId(), { QStringLiteral("membership") } },
- { RoomCreateEvent::typeId(), { QStringLiteral("creator") } }
- // , { RoomJoinRules::typeId(), { QStringLiteral("join_rule") } }
- // , { RoomPowerLevels::typeId(),
- // { QStringLiteral("ban"), QStringLiteral("events"),
- // QStringLiteral("events_default"),
- // QStringLiteral("kick"), QStringLiteral("redact"),
- // QStringLiteral("state_default"), QStringLiteral("users"),
- // QStringLiteral("users_default") } }
- ,
+ { RoomCreateEvent::typeId(), { QStringLiteral("creator") } },
+ { RoomPowerLevelsEvent::typeId(),
+ { QStringLiteral("ban"), QStringLiteral("events"),
+ QStringLiteral("events_default"), QStringLiteral("kick"),
+ QStringLiteral("redact"), QStringLiteral("state_default"),
+ QStringLiteral("users"), QStringLiteral("users_default") } },
{ RoomAliasesEvent::typeId(), { QStringLiteral("aliases") } }
+ // , { RoomJoinRules::typeId(), { QStringLiteral("join_rule") } }
// , { RoomHistoryVisibility::typeId(),
// { QStringLiteral("history_visibility") } }
};