···1335133513361336pub fn whox(self: *App, client: *Client, channel: *irc.Channel) !void {
13371337 channel.who_requested = true;
13381338+ if (channel.name.len > 0 and
13391339+ channel.name[0] != '#')
13401340+ {
13411341+ const other = try client.getOrCreateUser(channel.name);
13421342+ const me = try client.getOrCreateUser(client.config.nick);
13431343+ try channel.addMember(other);
13441344+ try channel.addMember(me);
13451345+ return;
13461346+ }
13381347 // Only use WHO if we have WHOX and away-notify. Without
13391348 // WHOX, we can get rate limited on eg. libera. Without
13401349 // away-notify, our list will become stale