events: Add missing track_caller attribute

Without this one, the `#[track_caller]` in `make_reply_to` and
`make_reply_to_raw` were pointless.
This commit is contained in:
Jonas Platte 2023-10-09 13:57:31 +02:00
parent ddc8dc0f42
commit 935ac70e28
No known key found for this signature in database
GPG Key ID: AAA7A61F696C3E0C

View File

@ -277,6 +277,7 @@ impl RoomMessageEventContent {
)
}
#[track_caller]
fn make_reply_fallback(mut self, original_event: OriginalEventData<'_>) -> Self {
let empty_formatted_body = || FormattedBody::html(String::new());