Skip to content

Commit

Permalink
MSC2582: Remove mimetype from EncryptedFile object (#2582)
Browse files Browse the repository at this point in the history
* add proposal

* Update proposals/2582-remove-mimetype-from-encrypted-file.md

Co-authored-by: Hubert Chathi <[email protected]>

* Update proposals/2582-remove-mimetype-from-encrypted-file.md

Co-authored-by: Hubert Chathi <[email protected]>

Co-authored-by: Hubert Chathi <[email protected]>
  • Loading branch information
Sorunome and uhoreg committed Aug 30, 2021
1 parent 841bdf5 commit e895827
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions proposals/2582-remove-mimetype-from-encrypted-file.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Remove `mimetype` from `EncryptedFile` object


## Proposal
The example in the spec currently lists `mimetype` in the [examples for `EncryptedFile`](https://matrix.org/docs/spec/client_server/r0.6.1#extensions-to-m-message-msgtypes) but not in
the object definition. As that is duplicate information of the `info` block of file events, the
mimetype should just be removed alltogether.


## Potential issues
Some clients might depend on this. However, as of August 2021, all known clients have
been confirmed to not use this.

0 comments on commit e895827

Please sign in to comment.