mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
tweaks to NAMES implementation (#2058)
* tweaks to NAMES implementation * tweak member caching * add a benchmark for NAMES
This commit is contained in:
parent
378d88fee2
commit
eeec481b8d
8 changed files with 148 additions and 56 deletions
|
|
@ -2060,8 +2060,6 @@ func namesHandler(server *Server, client *Client, msg ircmsg.Message, rb *Respon
|
|||
channels = strings.Split(msg.Params[0], ",")
|
||||
}
|
||||
|
||||
// TODO: in a post-federation world, process `target` (server to forward request to)
|
||||
|
||||
// implement the modern behavior: https://modern.ircdocs.horse/#names-message
|
||||
// "Servers MAY only return information about the first <channel> and silently ignore the others."
|
||||
// "If no parameter is given for this command, servers SHOULD return one RPL_ENDOFNAMES numeric
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue