ssbc / patchcore

A shared library of depject modules to build Secure Scuttlebutt social network apps
GNU Affero General Public License v3.0
74 stars 17 forks source link

Add ability to privately follow, unfollow, block, and unblock #77

Closed christianbundy closed 4 years ago

christianbundy commented 5 years ago

This adds the ability to privately follow, unfollow, block, and unblock.

Before

contact.async.block(id, cb) // public

After

contact.async.block(id, cb) // public
contact.async.block({ id }, cb) // public
contact.async.block({ id, private: true }, cb) // private