Joining a bridged IRC network on Element (Matrix)

Matrix is a great modern, distributed and secure open source chat platform (I connect through Element), but sometimes you need to connect to IRC networks. Fortunately, for some common networks this is supported through bridges. There is a list of available bridges in the documentation, for example Libera is and OFTC is

Step one, open your Element app or browse to the web chat.

Start a new People direct message chat with the bridge app for the IRC network you require, OFTC for example.

This should bring up a new chat with the app, appearing in your People list.

Open this new direct chat, it’s where you will perform your interactions with the IRC network.

Before we join a channel, we need to tell the app our account details so that we can authenticate and reconnect successfully. This assumes that you have already connected and registered your nick to that IRC network (if you haven’t already done that, follow the instructions from that network).

By default your nick will have a [m] next to it. Let’s change your nick to the one registered on that network, for the current session:

!nick csmart

Now set your default nick to one registered on the network, for future connections:

!username csmart

Store your password so that you can be automatically authenticated in future sessions:

!storepass mypassword

Reconnect to the network now that you have stored the password (note this doesn’t return anything to say it was successful).


Now we can finally join an IRC channel:

!join #openstack-swift

Now you should get a new chat pop up under Rooms which you can add to favourites.

Run !help for help!

2 thoughts on “Joining a bridged IRC network on Element (Matrix)

  1. Can’t seem to make it work. Executing a `!username Hi-Angel` returns `Username contained invalid characters not supported by IRC.` It’s my username and it always worked with hexchat or pidgin, so I’m not sure what’s the matrix’s problem.

Leave a Reply

Your email address will not be published. Required fields are marked *