Comments (9)
Would this require every command which can have a cookie attached to it rewritten to accept a cookie?
from ircv3-specifications.
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.
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.
I didn't think much about how it should work with batches, but this way is possible, why not.
from ircv3-specifications.
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.
Clients that don't understand batch shouldn't be sent batches so that's not really relevant.
from ircv3-specifications.
@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.
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.
Discussion is moved to #162
from ircv3-specifications.
Related Issues (20)
- CHATHISTORY: consider an API to discover DM correspondents HOT 8
- A capability for enabling receiving arbitrary standard replies HOT 3
- ISUPPORT UTF8ONLY is not backwards-compatible. HOT 10
- BOT flag lacks notification of change HOT 5
- sasl spec should clarify that AUTHENTICATE is a normal IRC message HOT 2
- CAP DEL undefined behavior
- oper tag HOT 1
- Unclear how servers should send cap updates HOT 2
- Standardize pre-welcome FAIL ACCOUNT_REQUIRED HOT 3
- Client-tag for specifying in which shared channel a private NOTICE should be displayed HOT 5
- CVE-2022-2663 defence-in-depth: Specify CTCP PING character limits HOT 4
- CHATHISTORY: Clarify a limit of 0 in messages HOT 7
- Multiline messages: Clarify what counts towards max-bytes and what doesn't
- sasl-3.1: Mention size limit of incoming SASL authentication messages HOT 1
- Chat history + Channel rename HOT 3
- irc Some privacy issues HOT 5
- sasl: spec recommendations breaks single roundtrip connection registration HOT 4
- Unresolved issues with message redaction HOT 6
- CHATHISTORY: clarify behaviour when messages have no consistent total ordering HOT 1
- draft/account-registration: should all responses use standard-replies? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ircv3-specifications.