mirror of
https://github.com/logos-messaging/libchat.git
synced 2026-06-29 04:29:57 +00:00
Add more logging
This commit is contained in:
parent
071655e169
commit
690f8aa64e
@ -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>,
|
||||
|
||||
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user