We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BATCH
request draft/chathistory but do not request batch
draft/chathistory
batch
trimmed down a bit
C: CAP REQ :draft/chathistory ... C: CHATHISTORY TARGETS timestamp=2023-01-01T00:00:00.000Z timestamp=2023-01-02T00:00:00.000Z 50 S: ergo BATCH +1 draft/chathistory-targets S: ergo BATCH -1
server should never send BATCH to the client because it was never requested
As you can see in irc/handlers.go:657 batch is used without checking client's capabilities.
The text was updated successfully, but these errors were encountered:
Thanks! It looks like for normal chathistory subcommands (LATEST, AFTER, etc.), this is properly gated on the capability:
LATEST
AFTER
ergo/irc/responsebuffer.go
Lines 224 to 233 in bf33fba
but I forgot to do it for TARGETS.
Sorry, something went wrong.
00cfe98
Merge pull request #2067 from slingamn/issue2066
3e68694
fix #2066
No branches or pull requests
Steps to reproduce
request
draft/chathistory
but do not requestbatch
Actual behavior
trimmed down a bit
Expected behavior
server should never send
BATCH
to the client because it was never requestedCode
As you can see in irc/handlers.go:657 batch is used without checking client's capabilities.
The text was updated successfully, but these errors were encountered: