chore: Follow up send filename for keyboard input

pull/903/head
krille-chan 1 year ago
parent 549291ab40
commit 6c5133abfe
No known key found for this signature in database

@ -459,10 +459,11 @@ class InputBar extends StatelessWidget {
onContentInserted: (KeyboardInsertedContent content) {
final data = content.data;
if (data == null) return;
final file = MatrixFile(
mimeType: content.mimeType,
bytes: data,
name: 'content-insertion',
name: content.uri.split('/').last,
);
room.sendFileEvent(file, shrinkImageMaxDimension: 1600);
},

Loading…
Cancel
Save