From 8dff974df81f0c02247f3ec6ea5e57053c14fb49 Mon Sep 17 00:00:00 2001 From: Mikhail Date: Fri, 24 May 2024 11:03:04 +0200 Subject: [PATCH] Add tracing info --- crates/projection-xmpp/src/presence.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/projection-xmpp/src/presence.rs b/crates/projection-xmpp/src/presence.rs index 5e3f11a..7f9a2a4 100644 --- a/crates/projection-xmpp/src/presence.rs +++ b/crates/projection-xmpp/src/presence.rs @@ -130,6 +130,7 @@ impl<'a> XmppConnection<'a> { */ + #[tracing::instrument(skip(self), name = "XmppConnection::retrieve_message_history")] async fn retrieve_message_history(&self, room_name: &Name) -> Result<(Vec)> { let room_id = RoomId::try_from(room_name.0.clone())?; let history_messages = self.user_handle.get_room_message_history(room_id).await?;