Giter Club home page Giter Club logo

Comments (9)

HelixSpiral avatar HelixSpiral commented on June 5, 2024

Would this require every command which can have a cookie attached to it rewritten to accept a cookie?

from ircv3-specifications.

DarthGandalf avatar DarthGandalf commented on June 5, 2024

Of course not.
Just add a message tag

08.03.2014 20:23, Shawn Smith пишет:

Would this require every command which can have a cookie attached to
it rewritten to accept a cookie?


Reply to this email directly or view it on GitHub
#53 (comment).

from ircv3-specifications.

kythyria avatar kythyria commented on June 5, 2024

So, if a message has a id tag attached, any replies to that message also have that tag attached, with exactly the same value. Server doesn't interpret it, just echoes it back. It's the client's job to pick an id that won't be ambiguous.

Possibly if a batch start is tagged, then the whole batch is a reply and the messages inside it can be left untagged.

from ircv3-specifications.

DarthGandalf avatar DarthGandalf commented on June 5, 2024

I didn't think much about how it should work with batches, but this way is possible, why not.

from ircv3-specifications.

HelixSpiral avatar HelixSpiral commented on June 5, 2024

I think messages inside the batch should also be tagged because clients that don't understand batch are supposed to be able to parse the individual messages normally.

from ircv3-specifications.

M2Ys4U avatar M2Ys4U commented on June 5, 2024

Clients that don't understand batch shouldn't be sent batches so that's not really relevant.

from ircv3-specifications.

HelixSpiral avatar HelixSpiral commented on June 5, 2024

@M2Ys4U Yeah, disregard what I said, I was derping when I wrote it.

My original thinking was if a client understood BATCH but didn't understand certain sub-types of BATCH then it would need everything inside tagged, but that's obviously wrong, so my bad.

from ircv3-specifications.

xPaw avatar xPaw commented on June 5, 2024

This is indeed a good idea! Just now I was thinking on how to catch replies to my bot's commands, but came to a conclusion that there is no reliable way of getting initial command which caused said reply to happen, attaching a cookie to commands would solve this problem.

from ircv3-specifications.

jwheare avatar jwheare commented on June 5, 2024

Discussion is moved to #162

from ircv3-specifications.

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.