Skip to content

Commit 76114b2

Browse files
authored
Do not error out when there is no receiver (#1375)
1 parent 34427c9 commit 76114b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

xmtp_mls/src/groups/mod.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1090,10 +1090,10 @@ impl<ScopedClient: ScopedGroupClient> MlsGroup<ScopedClient> {
10901090

10911091
if self.client.history_sync_url().is_some() {
10921092
// Dispatch an update event so it can be synced across devices
1093-
self.client
1093+
let _ = self
1094+
.client
10941095
.local_events()
1095-
.send(LocalEvents::OutgoingConsentUpdates(vec![consent_record]))
1096-
.map_err(|e| GroupError::Generic(e.to_string()))?;
1096+
.send(LocalEvents::OutgoingConsentUpdates(vec![consent_record]));
10971097
}
10981098

10991099
Ok(())

0 commit comments

Comments
 (0)