[Feature] Add multiline support #1097

Open
opened 2026-10-05 05:03:02 +02:00 by adam · 1 comment
Owner

Goal

Hi, since version 6.2.6, Unrealircd (one of the major IRCd) enable the multiline support by default.

But ZNC don't seems to permit to use it.

Tests

Without ZNC:

/cap ls
irc: client capability, server supports: unrealircd.org/link-security=2 unrealircd.org/plaintext-policy=user=allow,oper=deny,server=deny
unrealircd.org/history-storage=memory,disk=encrypted away-notify invite-notify extended-join userhost-in-names multi-prefix cap-notify
sasl setname tls chghost account-notify message-tags batch server-time account-tag echo-message labeled-response draft/chathistory
extended-monitor standard-replies no-implicit-names draft/no-implicit-names draft/extended-isupport
draft/multiline=max-bytes=5250,max-lines=15 unrealircd.org/json-log unrealircd.org/json-log
  • Multiline messages are sent as is to server and read as a multiline message

With ZNC:

/cap ls
irc: client capability, server supports: account-notify account-tag away-notify batch cap-notify echo-message extended-join multi-prefix
server-time userhost-in-names znc.in/batch znc.in/self-message znc.in/server-time-iso
  • Multiline messages are sent sequentially, line by line, multiline is broken
## Goal Hi, since version `6.2.6`, Unrealircd (one of the major IRCd) enable the multiline support by default. But ZNC don't seems to permit to use it. ## Tests Without ZNC: ``` /cap ls irc: client capability, server supports: unrealircd.org/link-security=2 unrealircd.org/plaintext-policy=user=allow,oper=deny,server=deny unrealircd.org/history-storage=memory,disk=encrypted away-notify invite-notify extended-join userhost-in-names multi-prefix cap-notify sasl setname tls chghost account-notify message-tags batch server-time account-tag echo-message labeled-response draft/chathistory extended-monitor standard-replies no-implicit-names draft/no-implicit-names draft/extended-isupport draft/multiline=max-bytes=5250,max-lines=15 unrealircd.org/json-log unrealircd.org/json-log ``` - Multiline messages are sent as is to server and read as a multiline message With ZNC: ``` /cap ls irc: client capability, server supports: account-notify account-tag away-notify batch cap-notify echo-message extended-join multi-prefix server-time userhost-in-names znc.in/batch znc.in/self-message znc.in/server-time-iso ``` - Multiline messages are sent sequentially, line by line, multiline is broken <!-- github-sync-id:5003184253 -->
Author
Owner

Random drive-by-comment:

Google found https://ircv3.net/specs/extensions/multiline.

From that page:

This specification may change at any time and we do not recommend implementing it in a production environment.

Does anyone know what the state of this extension is? The Copyright © 2019 in there scares me and makes me think something is wrong. Why is this just a draft for seven years already?

Random drive-by-comment: Google found https://ircv3.net/specs/extensions/multiline. From that page: > This specification may change at any time and we do not recommend implementing it in a production environment. Does anyone know what the state of this extension is? The `Copyright © 2019` in there scares me and makes me think something is wrong. Why is this just a draft for seven years already? <!-- github-comment-id:5119357709 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/znc#1097