Skip to content
Extraits de code Groupes Projets
Valider e3dc5ac1 rédigé par Will Hunt's avatar Will Hunt
Parcourir les fichiers

Add protocol to reg file by default

parent 37dc7b04
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
# Matrix Discord Bridge # Matrix Discord Bridge
A bridge between [Matrix](http://matrix.org/) and [Discord](https://discordapp.com/). A bridge between [Matrix](http://matrix.org/) and [Discord](https://discordapp.com/).
Currently the bridge is in **Beta** and quite usable for everyday Currently the bridge is in **Beta** and quite usable for everyday
bridging, with one or two bugs cropping up. bridging, with one or two bugs cropping up.
![Screenshot of Riot and Discord working together](screenshot.png) ![Screenshot of Riot and Discord working together](screenshot.png)
...@@ -50,11 +50,8 @@ Please also be aware that this is an unoffical project worked on in my (Half-Sho ...@@ -50,11 +50,8 @@ Please also be aware that this is an unoffical project worked on in my (Half-Sho
#### 3PID Protocol Support #### 3PID Protocol Support
This bridge support searching for rooms within networks via the 3pid system This bridge support searching for rooms within networks via the 3pid system
used in clients like [Riot](https://riot.im). However, it requires a small used in clients like [Riot](https://riot.im). Any new servers/guilds you bridge
manual change to your registration file. Change the end of should show up in the network list on Riot and other clients.
`discord-registration.yaml` to `protocols: ["discord"]`` and restart both your
bridge and synapse. Any new servers/guilds you bridge should show up in the
network list on Riot and other clients.
### Setting up Discord ### Setting up Discord
......
...@@ -33,6 +33,7 @@ function generateRegistration(reg, callback) { ...@@ -33,6 +33,7 @@ function generateRegistration(reg, callback) {
reg.addRegexPattern("users", "@_discord_.*", true); reg.addRegexPattern("users", "@_discord_.*", true);
reg.addRegexPattern("aliases", "#_discord_.*", true); reg.addRegexPattern("aliases", "#_discord_.*", true);
reg.setRateLimited(false); reg.setRateLimited(false);
reg.setProtocols(["discord"]);
callback(reg); callback(reg);
} }
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter