Comments (11)
š
from ircv3-specifications.
This should probably be taken on board in some form, even if there isn't a cap for it. Plus ircds that support remote echo can use this to avoid having to alter the message.
from ircv3-specifications.
An initial specification is here.
Let me know what you think about the optional message tag that would allow clients to differentiate between the sessions.
from ircv3-specifications.
The optional message tag looks interestingā¦ But it's not really user-friendly. E.g. you can't name the session "My spouse's laptop", or add some picture to it. Though that may be an ID of some record in metadata announced by that client earlier.
Also it's unclear whether the tag should be added to EVERY messages, even if they are coming from other people.
What exactly do you mean by "If the message tags capability is negotiated"? Message-tags is not a capability which may be negotiatedā¦ It's implicitly enabled when any capability which uses this mechanism is enabled.
from ircv3-specifications.
I'm trying to understand the purpose of this tag ā is it similar to XMPP instances?
(Also, if it occurs frequently, should be a little shorter... maybe just session
? One letter tags aren't really clear, but on the other hand, 512 bytes doesn't take long to fill up.)
from ircv3-specifications.
@grawity The tag is similar in intent to the resource part of a JID, yes: To indicate the specific connection that sent a message. The rest of the proposal is similar in intent to XEP-280.
@DarthGandalf I guess you could use the metadata stuff to do that. Use subkeys of user.session.<sessionid>
or something.
Either way, it's unclear which messages should have @session
. Probably not PRIVMSG from other people, certainly. The only uses I can think of that aren't presence require being able to send to a particular session as well.
from ircv3-specifications.
@kythyria yeah, āor somethingā... If it's really subkeys of metadata, it needs to be described in the spec.
from ircv3-specifications.
A better name for "session" is "origin", and my idea was that the bouncer could relay it along with
the message to the other attached clients to let them know which device sent the message.
Also it's unclear whether the tag should be added to EVERY messages, even if they are coming from other people.
No, I only thought of using it internally, i.e. only attached to the messages that have been sent by you on an other device.
What exactly do you mean by "If the message tags capability is negotiated"? Message-tags is not a capability which may be negotiatedā¦ It's implicitly enabled when any capability which uses this mechanism is enabled.
Yeah, this would require an explicit negotiation for message tags if we don't want to force it on clients.
I do not insist on this at all, if we can't think of a good use case for this then let's drop it.
from ircv3-specifications.
After some discussion, I updated the specification draft to only contain original idea.
from ircv3-specifications.
Since 2 months have elapsed I'm going to merge this in a few days unless someone has objections or suggestions.
from ircv3-specifications.
Merged.
from ircv3-specifications.
Related Issues (20)
- CHATHISTORY: consider adding a target to retrieve highlights HOT 8
- 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
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.