MCMrARM / revolution-irc

A modern Android IRC client. #revolutionirc on Libera.chat
GNU General Public License v3.0
555 stars 62 forks source link

Don't show STATUSMSG as separate tab #269

Open swantzter opened 3 years ago

swantzter commented 3 years ago

Today, sending a message to for example +#channel or @#channel will open a separate tab for the recipients, it will act like a PM tab and appear after all other channel tabs. (meaning it also has Close conversion rather than Leave Channel) this is somewhat impractical as it often means you have to scroll acroll 12 channels to read the message, then scroll 12 channels back to respond.

I would propose that those messages instead appear in-line in the channel with some sort of marker that they were sent to a STATUSMSG prefixed channel. (aka either another token in the message format menu which could let you do something like $time\t($statusprefix) <$sender> $message, and/or another type of message in the message format menu that has that token, so for example the parenthesis didn't show on normal messages) sending messages to those channel member groups should probably always be done via /msg (or notice)

The STATUSMSG parameter of RPL_ISUPPORT specifies channel membership prefixes, it might be worth using that to limit what's interpreted as a real channel compared to what's just a prefixed version of the channel

kurahaupo commented 3 years ago

I would like this as well.

In the alternative, can the tabs be sorted to ignore leading punctuation, so that @#channel and +@channel tabs appear beside their main tab? (This would also make #foo and ##foo appear adjacently, which would also be useful.)

kurahaupo commented 3 years ago

Related to (but not a duplicate of) #65

kurahaupo commented 3 years ago

Related to (but not a duplicate of) #100

swantzter commented 3 years ago

This also has the addition that it's not just NOTICEs that can be sent as STATUSMSG. PRIVMSGs can too - which might be worth remembering