ircv3-specifications icon indicating copy to clipboard operation
ircv3-specifications copied to clipboard

multiline: Specify behavior with respect to formatting.

Open progval opened this issue 2 years ago • 4 comments

This is the only way to format the fallback for multiline-unaware clients the same way as for multiline-aware clients

progval avatar Apr 22 '22 18:04 progval

lgtm

slingamn avatar Apr 24 '22 02:04 slingamn

I'm not sure. This puts a significant burden on clients when interpreting user input and composing a multiline message.

jwheare avatar Apr 25 '22 17:04 jwheare

So currently, if someone sends this:

BATCH +123 draft/multiline #channel
@batch=123 PRIVMSG #channel :not-bold <0x02>bold
@batch=123 PRIVMSG #channel :unclear
BATCH -123

then irccloud and the current weechat master will display it like this, because they don't implement this PR:

not-bold bold
unclear

and assuming servers don't do any reformatting, then every client not supporting multiline will get this:

PRIVMSG #channel :not-bold <0x02>bold
PRIVMSG #channel :unclear

so they will display it like this:

not-bold bold
unclear

I understand this can be annoying to implement, but we need to either:

  1. accept this solution
  2. propose a different solution
  3. decide it's not a problem

Could we resolve this before weechat ships version 4.0 with draft/multiline support?

progval avatar May 29 '23 13:05 progval