Bridge messages between Matrix and Gitter
Bridge messages between Matrix and Gitter
Part of https://gitlab.com/gitlab-org/gitter/webapp/-/issues/1684
Dev notes
Split out from https://gitlab.com/gitlab-org/gitter/webapp/-/merge_requests/2040
$ mongo gitter
> db.matricesbridgeduser.remove({ userId: db.users.findOne({ username: 'MadLittleMods' })._id })
Todo
-
Only allow certain rooms to bridge messages for this initial phase - Added
isRoomAllowedToBridge
- Added
-
Add tests
Testing strategy
- Configure your
webapp
secrets again to get the latestmatrix__
environment variables added, https://gitlab.com/gitlab-org/gitter/webapp#configure-oauth-and-service-secrets - Send a message from one of your Gitter rooms
- Login to your local Riot instance which points at your local synapse: http://localhost:18010/
- In Riot in your rooms list -> Rooms ->
+
-> Explore public rooms -> Find the bridged room just created from sending the message above - Send a message back from Riot.
- Notice the message go to Gitter
Edited by Eric Eastwood