provide filesize to Message.file
This commit is contained in:
parent
426e51a8aa
commit
93255ec748
1 changed files with 1 additions and 0 deletions
|
|
@ -153,6 +153,7 @@ class MessageController extends AsyncNotifier<Message?> {
|
|||
),
|
||||
"m.file" => Message.file(
|
||||
name: content["filename"].toString(),
|
||||
size: content["info"]["size"],
|
||||
metadata: metadata,
|
||||
id: config.event.eventId,
|
||||
authorId: event.authorId,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue