Friends, follows, blocks, invites #14
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: golgi-ssb/golgi#14
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
For the next set of features needed for PeachCloud, we may need to add more additional features to kuska:
Some of these commands, using sbotcli, but what are the exact muxrpc calls to make?
sbotcli friends hops --dist 0
(what are the other friends commands, for getting follows, followers and blocks?)
sbotcli invite create --uses 100
@notplants
The follow-related calls in sbotcli are defined in
friend.go
. The code there gives me a basic idea of the required MUX-RPC calls:The API docs for the JS
ssb-friends
module fills in most of the blanks (the README has detailed docs about each method):Here is the Go code for accepting / using an invite (
legacy.go
):And creating:
I'm not entirely sure of the shape of the optional parameters for invite creation (the
uses
flag), but I should be able to figure it out with some tinkering.This functionality has now been implemented, both in kuska and golgi.