events: Add paragraph about replies to edited events.
This commit is contained in:
parent
7957dd6adf
commit
35b766f09b
@ -4,6 +4,9 @@ the previous message, for which the room ID is required. If you want to reply to
|
||||
[`OriginalSyncRoomMessageEvent`], you have to convert it first by calling
|
||||
[`.into_full_event()`][crate::events::OriginalSyncMessageLikeEvent::into_full_event].
|
||||
|
||||
If the message was edited, the previous message should be the original message that was edited,
|
||||
with the content of its replacement, to allow the fallback to be accurate at the time it is added.
|
||||
|
||||
It is recommended to enable the `sanitize` feature when using this method as this will
|
||||
clean up nested [rich reply fallbacks] in chains of replies. This uses [`sanitize_html()`]
|
||||
internally, with [`RemoveReplyFallback::Yes`].
|
||||
|
Loading…
x
Reference in New Issue
Block a user