diff --git a/src/chat.rs b/src/chat.rs
index ec9517d47..80976dde6 100644
--- a/src/chat.rs
+++ b/src/chat.rs
@@ -930,6 +930,17 @@ SELECT id, rfc724_mid, pre_rfc724_mid, timestamp, ?, 1 FROM msgs WHERE chat_id=?
.unwrap_or(0))
}
+ /// Returns timestamp of us joining the chat if we are the member of the chat.
+ pub(crate) async fn join_timestamp(self, context: &Context) -> Result