File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -8,14 +8,16 @@ All notable changes to this project will be documented in this file.
8
8
9
9
Breaking changes:
10
10
11
- - ` UploadParameters ` includes a new field, ` file_data: Option<Vec<u8>> ` , which allows a foreign
12
- language to read file contents natively and then pass those contents to the foreign function
13
- when uploading a file through the ` Timeline ` .
11
+ - ` UploadParameters ` replaces field ` filename: String ` with ` source: UploadSource ` .
12
+ ` UploadSource ` is an enum which may take a filename or a filename and bytes, which
13
+ allows a foreign language to read file contents natively and then pass those contents to
14
+ the foreign function when uploading a file through the ` Timeline ` .
14
15
([ #4948 ] ( https://github.com/matrix-org/matrix-rust-sdk/pull/4948 ) )
15
16
16
17
Additions:
17
18
18
19
- Add room topic string to ` StateEventContent `
20
+ - Add ` UploadSource ` for representing upload data - this is analogous to ` matrix_sdk_ui::timeline::AttachmentSource `
19
21
20
22
Breaking changes:
21
23
You can’t perform that action at this time.
0 commit comments