matrix-org / matrix-appservice-irc

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

Can join Matrix portal despite err_needreggednick #1746

Open AndrewFerr opened 1 year ago

AndrewFerr commented 1 year ago

It's possible for a Matrix account to be invited to & stay joined to a portal room for an IRC channel that they should be barred from joining due to their IRC connection not having a registered nick.

To reproduce (rough steps, may be inaccurate):

Results:

Expected results:

It's possible that this happens only when your Matrix account is on a different homeserver than the bridge & is the only account on your homeserver to have been joined to the portal room.

This isn't so bad of an issue as it's fairly inert, but it is misleading to be joined to a portal room with no connection to IRC events.

Half-Shot commented 10 months ago

Well, if this is all true then it effectively pauses messages in the room when the privacy filter is active..and leaks messages if not. The federated aspect is irrelevant, as the user should be kicked when the fail to join the room.