Add more logging

This commit is contained in:
Jazz Turner-Baggs 2026-06-02 20:59:33 -07:00
parent 071655e169
commit 690f8aa64e
No known key found for this signature in database
2 changed files with 5 additions and 0 deletions

View File

@ -429,6 +429,7 @@ impl<S> BaseGroupConvo<S> 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<S>,

View File

@ -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<CS: ChatStore> InboxV2<CS> {
}
impl<CS: ChatStore> InboxV2<CS> {
#[instrument(name = "inboxv2.handle_frame", skip_all, fields(user_id = %service_ctx.identity_provider.friendly_name()))]
pub fn handle_frame<S: ExternalServices>(
&self,
service_ctx: &mut ServiceContext<S>,
@ -312,6 +315,7 @@ impl<CS: ChatStore> InboxV2<CS> {
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()