canRedact property

bool get canRedact

Whether the client is allowed to redact this event.

Implementation

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