Skip to content

Commit

Permalink
Merge branch 'dev' into fix-storage-on-mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
stavares843 authored Nov 27, 2024
2 parents 43468ec + 7dff365 commit 104cc35
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib/wasm/RaygunStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,9 @@ class RaygunStore {
let recipient = await MultipassStoreInstance.identity_from_did(event.values["recipient"])
if (recipient) {
UIStore.mutateChat(conversation_id, c => {
c.users = [...c.users, recipient.key]
let users = new Set(c.users)
users.add(recipient.key)
c.users = [...users]
})
Store.updateUser(recipient)
}
Expand Down

0 comments on commit 104cc35

Please sign in to comment.