Skip to content

Commit

Permalink
fixed bad merge
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronvoell committed Sep 21, 2024
1 parent 4090246 commit 333b3c2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion xmtp_mls/src/groups/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,7 @@ impl MlsGroup {
added_by_inbox,
welcome_id,
Purpose::Conversation,
dm_inbox_id
)
}
ConversationType::Sync => StoredGroup::new_from_welcome(
Expand Down Expand Up @@ -1112,7 +1113,7 @@ impl MlsGroup {
let mutable_metadata = custom_mutable_metadata.unwrap_or_else(|| {
build_dm_mutable_metadata_extension_default(
context.inbox_id(),
dm_target_inbox_id.clone(),
&dm_target_inbox_id,
)
.unwrap()
});
Expand Down Expand Up @@ -1145,6 +1146,7 @@ impl MlsGroup {
now_ns(),
GroupMembershipState::Allowed, // Use Allowed as default for tests
context.inbox_id(),
Some(dm_target_inbox_id),
);

stored_group.store(provider.conn_ref())?;
Expand Down

0 comments on commit 333b3c2

Please sign in to comment.