From 2d4476b9a331a025f17071f91f4a402218663469 Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Thu, 30 Jun 2022 13:27:51 -0700 Subject: [PATCH] added workaround for invite in README Resolves issue #57 --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 435f636..6848777 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,15 @@ pip3 install -r requirements.txt Copy `config.yaml-sample` to `config.yaml` and edit for your setup. Likewise copy `appservice.yaml-sample` to `appservice.yaml` and edit to match the tokens, prefix, and port listed in `config.yaml`. This is the configuration that synapse will need to reference so that it can connect the bridge. Make sure you modify your [syanpse configuration] accordingly. +## Tweaks + +There exists a bug in synapse which prevents the bridge user from accepting DM invites from users on other homeservers. To work around the issue you can create a profile for the bot user.[^1] + +```sh +curl --data '{"type": "m.login.application_service", "username": "your_sender_localpart"}' 'http://yourhomeserver/_matrix/client/r0/register?access_token=your_as_token' +``` + + ## Contributing and support You can open issues for bugs or feature requests and you can submit merge requests to this project on [GitLab]. You can also submit issues and patches to the [mailing list] or directly to [morgan@mcmillian.dev]. @@ -55,3 +64,4 @@ GPLv3, see [LICENSE]. [pnut-matrix on pnut.io]: https://patter.chat/999 [#pnut_999:pnut-matrix.dreamfall.space]: https://matrix.to/#/#pnut_999:pnut-matrix.dreamfall.space [LICENSE]: LICENSE +[^1]: https://github.com/matrix-org/matrix-appservice-irc/issues/1270#issuecomment-849765090