cabal-club / cabal-client

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

add /ids to toggle ids on/off #35

Closed cblgh closed 4 years ago

cblgh commented 4 years ago

this PR adds the /ids command, which is intended to be used such that long identifiers are appended to nicknames, to uniquely identify them (see the cabal-cli PR)

the mechanism for determining to show ids or not is the new CabalDetails property showIds i.e. use cabal.showIds to determine if you should show the extended nickname or not

cblgh commented 4 years ago

it might be better for desktop to receive an emitted event, rather than just change a property the property like i am right now, and relying on the info event to propagate the changes. @nikolaiwarner lmk what would make life easier for you ^_^