Closed progval closed 1 year ago
Two open questions:
As things stand right now, 1. is solvable just by requiring that multi-connection-capable clients understand echo-message. For 2. and 3. the current behaviour is compliant with the labeled-response spec and I'm not sure how much extra effort it's worth putting in when other server implementations also routinely decide not to label things - clients have to be able to understand unlabelled responses anyway, even when the cap is enabled.
when other server implementations also routinely decide not to label things
"routinely" is a strong word. In practice, echoed PRIVMSGs are always labeled, and clients implementing echo-message rely on it.
clients have to be able to understand unlabelled responses anyway, even when the cap is enabled.
But even optional labels can improve client behavior. For example, Limnoria's @ircquote
allows bot owners to send arbitrary commands, and optionally shows them any labeled response and Gamja uses the label to check it does not accidentally mix up responses to different Promise
s.
"routinely" is a strong word. In practice, echoed PRIVMSGs are always labeled, and clients implementing echo-message rely on it.
If clients are interpreting a spec to mean something that it doesn't require, that's a problem that the spec should be updated to fix. Changing an implementation behaviour to match what's expected but not specified just kicks the problem down the road.
Resolved by e467e5bafa23ab0059104a1ab805d2ed845e67bb + ad1e592bad5714e553fce124c92e7eaa9717e45d + 5be1f25bd1e89bcb2f8f5de39ce96b6d0e0487cd
There are a couple of IRC features that require servers to keep track of which connection caused a particular state change: