Coder Social home page Coder Social logo

Comments (5)

hackergrrl avatar hackergrrl commented on May 27, 2024 2

I've been thinking about a cabal-client module that cabal clients could use, that handle tracking session data like channels joined, message-read-up-to per channel, what DMs/PMs you've read or not (once implemented), etc. I started speccing it out here: https://github.com/cabal-club/cabal-client

from cabal-cli.

okdistribute avatar okdistribute commented on May 27, 2024

Yeah this would work, i think actually right now you aren't receiving the data from the channels, it just renders that they are available in the sidebar

from cabal-cli.

soyuka avatar soyuka commented on May 27, 2024

Although when I ctrl+n to a channel I haven't joined I see it's history right?
So, IIUC getChannels gets every channels available, we may filter there by taking only channels that belong to the self.channels array (those are the joined ones).
I'm willing to patch this if you guys think it's a good idea!

After a second though, it'd maybe be better to filter the displayed channels with the ones that one has actually joined.

from cabal-cli.

soyuka avatar soyuka commented on May 27, 2024

How would you picture DMs/PMs? Could they be sent through auto-defined channels that would be joined by both users? For privacy issues, these channels should not be joinable manually.

from cabal-cli.

hackergrrl avatar hackergrrl commented on May 27, 2024

@soyuka I was thinking they'd just be channel-less messages of type chat/text that are encrypted using the public key of the recipient. There could be an index that accumulates the messages that you know how to decrypt (ones you sent; ones you've received) and show it in the channel list (though it itself wouldn't be a channel).

from cabal-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.