Imrpove redacted events text

This commit is contained in:
miruka
2020-04-02 13:54:06 -04:00
parent 38cc0b1bc7
commit f8fe5d812b
7 changed files with 74 additions and 45 deletions

View File

@@ -218,7 +218,6 @@ Rectangle {
}
function canRedact(eventModel) {
print(eventModel)
return eventModel.event_type !== "RedactedEvent" &&
(chat.roomInfo.can_redact_all ||
eventModel.sender_id === chat.userId)