visitor-flutter
visitor-flutter copied to clipboard
Double follow on redeeming an invite by an already followed feed
To reproduce:
- create new identity;
- start server fresh;
- follow feed A;
- generate an invite with
sbotcli call invite.create; - send that invite to the owner of feed A, let it be redeemed.
- see two follow messages on your feed, feed A is being followed twice.
Which client used the invite in this case?
@cryptix Patchwork
I see, okay. I think there is retry logic if something goes wrong in patchwork. Ideally there should be more e2e scenarios in the tests folder of this implementation. Testing against ssb-server would be enough, no need to boot patchwork.
To stop the double follows you could add a graph lookup here.