matrix-org / matrix-appservice-irc

Node.js IRC bridge for Matrix
Apache License 2.0
465 stars 150 forks source link

MatrixBridge does not send authorization request to ops logged in through Matrix #524

Open heyakyra opened 6 years ago

heyakyra commented 6 years ago

MatrixBridge only seems to be able to bridge channels when the user with ops is logged in to irc from anything but Matrix.

Expected behavior:

A new chat request from MatrixBridge on IRC should appear with the authorization request message, " @username:homeserver.tld has requested to bridge 'Room name' (https://matrix.to/#/!MXID:matrix.org) with #channelname on this IRC network. Respond with 'yes' or 'y' to allow, or simply ignore this message to disallow. You have 300 seconds from when this message was sent."

Actual behavior: No request is received. Even if i start a direct chat with @freenode_MatrixBridge:matrix.org (which is only reachable via the start new chat button https://github.com/vector-im/riot-web/issues/5712) and send a 'y' or 'yes message, nothing happens.

TheButterZone commented 6 years ago

Someone idented to nickserv (so +R couldn't be to blame) was PMing me from their IRC client to my Freenode-logged-in Matrix client and their messages were neither received by me nor any error seen on their end. Related?

Mikaela commented 6 years ago

I think so and that makes this a duplicate of https://github.com/matrix-org/matrix-appservice-irc/issues/447 .

As a workaround, I think you can try !cmd <DOMAIN> MODE YourIRCNick -R.

I don't remember what the domain is for freenode and I am unable to check it at the moment, but you can see it with !nick which also tells your IRC nick.

TheButterZone commented 6 years ago

TBZ1 10:04 !nick A @appservice-irc:matrix.org 10:04 Format: '!nick DesiredNick' or '!nick irc.server.name DesiredNick' Currently connected to IRC networks: chat.freenode.net as TBZ1

TBZ1 10:10 !cmd chat.freenode.net mode TBZ1 -R AA @appservice-irc:matrix.org 10:10 Error: Domain not accepted: mode

heyakyra commented 6 years ago

I got the same message Error: Domain not accepted: mode

heyakyra commented 6 years ago

if i put MODE in all caps it doesn't throw an error, but I still can't get any messages from MatrixBridge