cabal-club / cabal-client

interface for writing peer-to-peer chat clients
GNU General Public License v3.0
95 stars 14 forks source link

implement channel management commands #16

Closed cblgh closed 3 years ago

cblgh commented 4 years ago

i want to manage which channels come up in listings, and invite people to them so that they don't miss out on its existence. cabal-client should implement functionality to make the following operations possible in the cli:

/hide <channel-name> which hides it when i list /channels, unless a flag is present e.g. /channels --all

/archive <channel-name> which hides it for everyone when they list /channel a message could be printed in the channel:

cblgh has archived this channel. type /unarchive to restore

/invite <pubkey> <channel-name> where pubkey is the peer i want to invite to <channel-name>