group-income icon indicating copy to clipboard operation
group-income copied to clipboard

Automated ban system shouldn't re-create proposals to ban users who were already banned

Open taoeffect opened this issue 1 year ago • 0 comments

Problem

After a user is automatically banned, if a user who is in the group logs in from a new computer, their client will generate a proposal to ban the user who was already banned:

Screen Shot 2022-08-31 at 3 58 03 PM

Solution

Make sure that the logic in 'gi.actions/group/autobanUser' gets run after a complete sync is finished only.

Test using 3 users and http://localhost:3000/app/error-testing to send malformed mutation of type GIErrorIgnoreAndBan.

taoeffect avatar Aug 31 '22 23:08 taoeffect