group-income
group-income copied to clipboard
Automated ban system shouldn't re-create proposals to ban users who were already banned
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](https://user-images.githubusercontent.com/138706/187799416-29e56c6c-d6a6-4519-ab22-d80fc52bcad4.png)
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
.