Skip to content

Commit

Permalink
Do not error out when there is no receiver (#1375)
Browse files Browse the repository at this point in the history
  • Loading branch information
codabrink authored Dec 4, 2024
1 parent 34427c9 commit 76114b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions xmtp_mls/src/groups/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1090,10 +1090,10 @@ impl<ScopedClient: ScopedGroupClient> MlsGroup<ScopedClient> {

if self.client.history_sync_url().is_some() {
// Dispatch an update event so it can be synced across devices
self.client
let _ = self
.client
.local_events()
.send(LocalEvents::OutgoingConsentUpdates(vec![consent_record]))
.map_err(|e| GroupError::Generic(e.to_string()))?;
.send(LocalEvents::OutgoingConsentUpdates(vec![consent_record]));
}

Ok(())
Expand Down

0 comments on commit 76114b2

Please sign in to comment.