matrix-org / matrix-appservice-irc

Node.js IRC bridge for Matrix
Apache License 2.0
460 stars 149 forks source link

"No channel data for channel/nick" errors when trying to handle mode changes #1731

Open Half-Shot opened 1 year ago

Half-Shot commented 1 year ago

We fetch the BridgedClient of the user being opped, and then get the prefix's for that username. It sounds like the .chanData request on the client is failing, and this is causing the bridge to not handle the mode change. I'd expect to see some data for this channel as we only emit a +mode if we know the channel. https://github.com/matrix-org/node-irc/blob/985b3380857e5d816934bf1c1bfc44ed60e70081/src/irc.ts#L513-L517

Half-Shot commented 1 year ago

This should be fixed in #1732 .