forked from Nexus/nexus
fix encrypted uploads
This commit is contained in:
parent
34ddd6d32b
commit
2a91959333
3 changed files with 8 additions and 7 deletions
|
|
@ -26,8 +26,7 @@ class AttachmentController extends Notifier<(String, MessageContent?)?> {
|
|||
.uploadMedia(
|
||||
.new(
|
||||
path: file.path,
|
||||
encrypted:
|
||||
room?.state[EventType.encryption.name]?.isNotEmpty == true,
|
||||
encrypt: room?.state[EventType.encryption.type]?.isNotEmpty == true,
|
||||
),
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue