Skip to content

Add support for batch and draft/chathistory capabilities#2746

Open
ctrlaltca wants to merge 1 commit intokvirc:masterfrom
ctrlaltca:clienthistory
Open

Add support for batch and draft/chathistory capabilities#2746
ctrlaltca wants to merge 1 commit intokvirc:masterfrom
ctrlaltca:clienthistory

Conversation

@ctrlaltca
Copy link
Copy Markdown
Contributor

@ctrlaltca ctrlaltca commented Jan 9, 2026

As suggested in #2745
This PR will enable the capabilities if supported by the server (use irc.unrealircd.org for tests)
A new OnBatch event has been added
Messages will contain a new @batch message tag when relevant
No UI/Option have been added right now, but a simple event handler for OnMeJoin can make such a request:

chathistory LATEST #channel * 50

@ctrlaltca
Copy link
Copy Markdown
Contributor Author

@DarthGandalf can you have a look at this please?

Copy link
Copy Markdown
Member

@DarthGandalf DarthGandalf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. I see only batch here, not draft/chathistory
  2. it doesn't actually do anything with BATCH other than just not complaining about unknown message?
  3. if server sends too many BATCH + with random ids, it'll eventually OOM the client

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants