This PR adds methods for creating and accepting invites.
The create invite method works, but doesn't seem to be picking up the "uses" argument I'm sending. Maybe I'm not sending it in the right form. Even though I'm passing 100 as the value for uses, I can see in the go-sbot log: t=2h2m24.220677722s unit=legacyInvites invite=created uses=1
Notably this is also what I see in the go-sbot log if I call ./sbotcli invite create --uses 100, which is the documented way to call it via sbotcli, which makes me think its not an error in how we are passing uses, but something potentially deeper in sbot.
A second issue: the invite use command currently produces the error: Application error: Sbot returned an error response: muxrpc: no such command: invite.use
This PR adds methods for creating and accepting invites.
The create invite method works, but doesn't seem to be picking up the "uses" argument I'm sending. Maybe I'm not sending it in the right form. Even though I'm passing 100 as the value for uses, I can see in the go-sbot log:
```t=2h2m24.220677722s unit=legacyInvites invite=created uses=1```
Notably this is also what I see in the go-sbot log if I call `./sbotcli invite create --uses 100`, which is the documented way to call it via sbotcli, which makes me think its not an error in how we are passing uses, but something potentially deeper in sbot.
A second issue: the invite use command currently produces the error:
`Application error: Sbot returned an error response: muxrpc: no such command: invite.use`
I also see in sbotcli that invite accept is TODO https://github.com/cryptoscope/ssb/blob/master/cmd/sbotcli/main.go#L575, but not sure if invite use is also TODO as a muxrpc call or if it expects a different form.
I added this to the list of sbot issues to investigate here https://server.commoninternet.net/pad/p/sbot_issues
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR adds methods for creating and accepting invites.
The create invite method works, but doesn't seem to be picking up the "uses" argument I'm sending. Maybe I'm not sending it in the right form. Even though I'm passing 100 as the value for uses, I can see in the go-sbot log:
t=2h2m24.220677722s unit=legacyInvites invite=created uses=1Notably this is also what I see in the go-sbot log if I call
./sbotcli invite create --uses 100, which is the documented way to call it via sbotcli, which makes me think its not an error in how we are passing uses, but something potentially deeper in sbot.A second issue: the invite use command currently produces the error:
Application error: Sbot returned an error response: muxrpc: no such command: invite.useI also see in sbotcli that invite accept is TODO https://github.com/cryptoscope/ssb/blob/master/cmd/sbotcli/main.go#L575, but not sure if invite use is also TODO as a muxrpc call or if it expects a different form.
I added this to the list of sbot issues to investigate here https://server.commoninternet.net/pad/p/sbot_issues
the kuska PR that makes this PR functional is here: https://github.com/mhfowler/kuska-ssb/pull/2
Ugh I accidentally closed this by merging #18
Grrr.
Pull request closed