digidem / comapeo-mobile

The next version of Mapeo mobile
GNU General Public License v3.0
5 stars 1 forks source link

fix: fix useRejectInvite mutation #474

Closed achou11 closed 4 months ago

achou11 commented 4 months ago

potentially avoids very subtle bugs caused by race conditions. prior to this change, the mutation is not waiting on the actual reject call to finish, which could lead to issues if the app code is - for example - rejecting an invitation and then refetching all of the invites with the expectation of the rejection being applied first