To stay in sync with somebody, you follow their feed. Scuttlebot will search the network for new messages by your followed users.
Following is controlled by Contact messages that are published on your feed.
Follow users
bash
js
sbot publish --type contact --contact {userId} --following
sbot.publish({
type: 'contact',
contact: userId,
following: true
}, cb)
Example usage (don't copy this directly):
bash
js
sbot publish \
--type contact \
--contact "@hxGxqPrplLjRG2vtjQL87abX4QKqeLgCwQpS730nNwE=.ed25519" \
--following
sbot.publish({
type: 'contact',
contact: '@hxGxqPrplLjRG2vtjQL87abX4QKqeLgCwQpS730nNwE=.ed25519',
following: true
}, cb)
Unfollow users
bash
js
sbot publish --type contact --contact {userId} --no-following
sbot.publish({
type: 'contact',
contact: userId,
following: false
}, cb)
Example usage (don't copy this directly):
bash
js
sbot publish \
--type contact \
--contact "@hxGxqPrplLjRG2vtjQL87abX4QKqeLgCwQpS730nNwE=.ed25519" \
--no-following
sbot.publish({
type: 'contact',
contact: '@hxGxqPrplLjRG2vtjQL87abX4QKqeLgCwQpS730nNwE=.ed25519',
following: false
}, cb)