ergochat / ergo

A modern IRC server (daemon/ircd) written in Go.
https://ergo.chat/
MIT License
2.2k stars 175 forks source link

unprivileged users in +u channels should see themselves in RPL_NAMREPLY #2134

Open slingamn opened 4 months ago

slingamn commented 4 months ago

Reported by knolle

slingamn commented 4 months ago

This is easy to change, just have to add && target != client to this condition:

https://github.com/ergochat/ergo/blob/681e8b12920bd9aace9ac9484c887760d3e9e649/irc/channel.go#L473

but I'm not sure I actually want to do it, since the anomalous nature of the nick list is an effective hint to the user that they're in an auditorium.

knolley commented 4 months ago

counter point: it can't be a hint to the user that they're in something if they're not actually shown to be in it

slingamn commented 1 month ago

They know that they're in it because they get the JOIN line, which generally results in the client opening a window / buffer / "query" for the channel :-)