From e655490b9f40175b16dbfd356ed35c79ed1ecd44 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Thu, 7 Sep 2023 16:07:54 +0200 Subject: [PATCH] ffi: Add is_threaded method to timeline Message object --- bindings/matrix-sdk-ffi/src/timeline.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bindings/matrix-sdk-ffi/src/timeline.rs b/bindings/matrix-sdk-ffi/src/timeline.rs index ab25bec52..dd70a7a77 100644 --- a/bindings/matrix-sdk-ffi/src/timeline.rs +++ b/bindings/matrix-sdk-ffi/src/timeline.rs @@ -543,6 +543,10 @@ impl Message { self.0.in_reply_to().map(InReplyToDetails::from) } + pub fn is_threaded(&self) -> bool { + self.0.is_threaded() + } + pub fn is_edited(&self) -> bool { self.0.is_edited() }