add redact PL check
This commit is contained in:
parent
15d02458ab
commit
b80bd557dd
3 changed files with 16 additions and 3 deletions
|
|
@ -63,7 +63,7 @@ class ChatBox extends HookConsumerWidget {
|
|||
|
||||
final canSendMessages = ref.watch(
|
||||
PowerLevelController.provider(
|
||||
PowerLevelConfig(eventType: "m.room.message"),
|
||||
PowerLevelConfig(eventType: "m.room.redaction"),
|
||||
),
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue