diff --git a/core/core_client/src/conversation/group_v2.rs b/core/core_client/src/conversation/group_v2.rs index 6392f02..16b2b38 100644 --- a/core/core_client/src/conversation/group_v2.rs +++ b/core/core_client/src/conversation/group_v2.rs @@ -429,6 +429,7 @@ impl BaseGroupConvo for GroupV2Convo where S: ExternalServices, { + #[instrument(name = "groupv2.add_member", skip_all, fields(user_id = %service_ctx.identity_provider.friendly_name()))] fn add_member( &mut self, service_ctx: &mut ServiceContext, diff --git a/core/core_client/src/inbox_v2.rs b/core/core_client/src/inbox_v2.rs index b8a081a..ae1311b 100644 --- a/core/core_client/src/inbox_v2.rs +++ b/core/core_client/src/inbox_v2.rs @@ -13,6 +13,8 @@ use openmls_traits::signatures::SignerError; use prost::{Message, Oneof}; use storage::ChatStore; use storage::ConversationMeta; +use tracing::info; +use tracing::instrument; use crate::AccountId; use crate::AddressedEnvelope; @@ -291,6 +293,7 @@ impl InboxV2 { } impl InboxV2 { + #[instrument(name = "inboxv2.handle_frame", skip_all, fields(user_id = %service_ctx.identity_provider.friendly_name()))] pub fn handle_frame( &self, service_ctx: &mut ServiceContext, @@ -312,6 +315,7 @@ impl InboxV2 { Ok(Some(Box::new(self.handle_heavy_invite(service_ctx, inv)?))) } InviteType::GroupV2(welcome_bytes) => { + info!("Process WelcomeMessage"); let mut convo = self .pending_demls .borrow_mut()