Skip to content

Commit

Permalink
more debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
nplasterer committed Mar 6, 2025
1 parent 5c107f4 commit b8687aa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion xmtp_content_types/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ pub fn should_push(content_type_id: String) -> bool {
ContentType::TransactionReference => true,
}
} else {
tracing::trace!("LOPI falling out here");
tracing::debug!("LOPI falling out here");
true
}
}
Expand Down
3 changes: 2 additions & 1 deletion xmtp_mls/src/groups/mls_sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1327,6 +1327,7 @@ where
&self.context().identity.installation_keys,
intent_data.message.as_slice(),
)?;
tracing::debug!("Lopi are you here? {}", intent.should_push);

Ok(Some(PublishIntentData {
payload_to_publish: msg.tls_serialize_detached()?,
Expand Down Expand Up @@ -1711,7 +1712,7 @@ where
let mut sender_hmac = sender_hmac.clone();
sender_hmac.update(payload);
let sender_hmac = sender_hmac.finalize();

tracing::debug!("Lopi end {}", should_push);
result.push(GroupMessageInput {
version: Some(GroupMessageInputVersion::V1(GroupMessageInputV1 {
data: payload.to_vec(),
Expand Down
4 changes: 3 additions & 1 deletion xmtp_mls/src/groups/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ impl TryFrom<EncodedContent> for QueryableContentFields {
.and_then(|legacy_reaction| hex::decode(legacy_reaction.reference).ok()),
_ => None,
};
tracing::trace!("LOPI type id string {}", type_id_str);
tracing::debug!("LOPI type id string {}", type_id_str);

Ok(QueryableContentFields {
content_type: content_type_id.type_id.into(),
Expand Down Expand Up @@ -884,6 +884,8 @@ impl<ScopedClient: ScopedGroupClient> MlsGroup<ScopedClient> {
let intent_data: Vec<u8> = SendMessageIntentData::new(encoded_envelope).into();
let queryable_content_fields: QueryableContentFields =
Self::extract_queryable_content_fields(message);

tracing::debug!("MORE LOPI? {}", queryable_content_fields.should_push);
self.queue_intent(
provider,
IntentKind::SendMessage,
Expand Down

0 comments on commit b8687aa

Please sign in to comment.