Skip to content

Commit

Permalink
rsvp: use supported mark read
Browse files Browse the repository at this point in the history
  • Loading branch information
arthyn committed Jul 23, 2024
1 parent b46c287 commit 3fa8818
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions apps/tlon-web/src/state/chat/chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -747,9 +747,7 @@ export function useDmRsvpMutation() {
markRead({
source: { dm: { ship } },
action: {
event: {
'dm-invite': { ship },
},
all: { time: null, deep: false },
},
});

Expand Down Expand Up @@ -920,9 +918,7 @@ export function useMutliDmRsvpMutation() {
markRead({
source: { dm: { club: id } },
action: {
event: {
'dm-invite': { club: id },
},
all: { time: null, deep: false },
},
});
return api.poke(action);
Expand Down

0 comments on commit 3fa8818

Please sign in to comment.