-
Notifications
You must be signed in to change notification settings - Fork 385
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
26 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# MSC0000: Clarifications on spoilers | ||
|
||
Spoiler messages are described in [MSC2010](https://github.com/matrix-org/matrix-doc/pull/2010) | ||
though the MSC is unclear if the fallback is required to be sent by clients. | ||
|
||
## Proposal | ||
|
||
The fallback for spoiler messages is optional, though recommended to be sent by clients. Clients | ||
should make reasonable efforts to represent the spoiler in the `body` field of a message. | ||
|
||
The recommended fallback format is unchanged. | ||
|
||
Additionally, this proposal opens up spoilers to any HTML-supporting message types. Currently | ||
this includes `m.text` (already included by MSC2010), `m.notice`, and `m.emote`. | ||
|
||
## Potential issues | ||
|
||
Clients could inadvertadly spoil parts of a message by not representing the spoiler correctly | ||
in the `body` of the message. The author believes this would quickly show up as a bug report | ||
on the client due to the nature of spoilers. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters