canRedact property

bool canRedact

Whether the client is allowed to redact this event.

Implementation

bool get canRedact => senderId == room.client.userID || room.canRedact;