-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add matrix-bridge-mautrix-slack role #2227
Add matrix-bridge-mautrix-slack role #2227
Conversation
Also probably the role should be moved to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Except of merging setup.yml
manually & moving the role to roles/custom
, these should be all changes required to make this role compatible to the current main branch.
At least I got the bridge up & running.
@xangelix Thanks for your work of migrating mautrix/slack into this playbook!
roles/matrix-bridge-mautrix-slack/templates/systemd/matrix-mautrix-slack.service.j2
Outdated
Show resolved
Hide resolved
roles/matrix-bridge-mautrix-slack/templates/systemd/matrix-mautrix-slack.service.j2
Outdated
Show resolved
Hide resolved
roles/matrix-bridge-mautrix-slack/templates/systemd/matrix-mautrix-slack.service.j2
Outdated
Show resolved
Hide resolved
Thanks a ton @Zocker1999NET for the checklist, makes the migration a lot easier. Unrelated to that change, were the slack puppets able to be created properly in your instance? I may have gotten configs messed up, it seems the bridge is only able to puppet my own account. |
@xangelix sadly I have a very inactive Slack, so I couldn't test if messages from the puppets are bridged ... But I have problems with DMs not being bridged. |
Do you think this works well enough to be merged now? As for various problems with bridging.. I wonder if the bridge is fully-featured or stable enough for us to be recommending it over appservice-slack, etc. |
For what it's worth, this bridge appears to function without the need for a slack-side app/api. Several of the Slack workspaces I need to bridge with don't allow app/api access. That might make this bridge worth any warts it might have. (Full disclosure, I'm very new to Matrix, but I've been watching this pull request because of that nuance regarding this Slack bridge vs the others) |
I tried this on my personal instance, and so far, so good with the several slacks I bridged. However, since this project moved to galaxy roles, some works have to be redone (I'd be happy to commit the modifications I did on this branch if you give me the access). Also, there's a small "bug" of opening plenty of "Slack Bridge Bot" rooms... Not sure what it is about so far (bug or just threads? 🤷🤷🤷) |
@RoiArthurB were the above changes mentioned by Zocker after moving to galaxy roles not all of the needed ones? |
Was enough, moving files and replace galaxy's project new variable (like the link to postgresql).
This role precisely in my |
e260aab
to
f4874d2
Compare
Only seems to bridge the logged-in user both ways, other users not working. |
Scratch that, all is now in order--appears to be fully functional except for displaynames. |
What's wrong with display names? Is it an upstream problem or some misconfiguration? Do upstream report them as working? |
Config properly sets these vars to: bot_displayname_template: '{{.Name}} (bot)'
channel_name_template: '#{{.Name}}'
displayname_template: '{{.RealName}} (S)' However all the bridged users have their full Slack ID as the display names. I posted in the mautrix slack matrix channel for now, but will post an issue upstream if I don't hear back. |
I believe all the vars here "should" work. |
Submitted issue here: mautrix/slack#9 |
Naming issue appears fixed in mautrix/slack@f933a14. |
Add support for mautrix-slack. Inherits greatly from the mautrix-discord role.