Skip to content
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

Changes required after Gitter migration to Matrix #1969

Open
epassaro opened this issue Feb 15, 2023 · 3 comments
Open

Changes required after Gitter migration to Matrix #1969

epassaro opened this issue Feb 15, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@epassaro
Copy link

Hi! I spent some time trying to make Matterbridge work again with Gitter after the recent migration to Matrix.

This is what I did (and worked):

[matrix]
[matrix.<YOUR BOT NAME>]
Server="https://gitter.ems.host"
MxID="@<PUT YOUR BOT ID HERE>:gitter.im"
Token="<PUT YOUR TOKEN HERE>"
RemoteNickFormat="[{PROTOCOL}] <b>{NICK}</b>: "
NoHomeServerSuffix=true

and then the gateway:

[[gateway]]
name="slack-gitter-bridge"
enable=true

    [[gateway.inout]]
    account="slack.matterbridge-bot"
    channel="gitter-bridge"

    [[gateway.inout]]
    account="matrix.my-bot"
    channel="#<YOUR ROOM HERE>:gitter.im"

Some observations:

  • The Matrix token can be found at the bottom of the last section in the settings. But this token changes as soon as you close the session and log in again. Is it possible to get a token that does not expire so soon? A token from the bot's GitHub account maybe? Please let me know
  • You need to accept the terms and conditions before starting messaging, so running matterbridge shouldn't work the first time, search for the link in the output in the command line
@epassaro epassaro added the enhancement New feature or request label Feb 15, 2023
@Mikaela
Copy link

Mikaela commented Feb 15, 2023

The Matrix token can be found at the bottom of the last section in the settings. But this token changes as soon as you close the session and log in again. Is it possible to get a token that does not expire so soon? A token from the bot's GitHub account maybe? Please let me know

Open Element in your browsers incognito/private mode and quit it without logging out once you have the token.

@epassaro
Copy link
Author

Sounds reasonable, thanks.

@42wim 42wim pinned this issue Apr 6, 2023
@ItsQuadrus
Copy link

I have a configuration with Discord and Gitter. When I send a message to Discord, it relays correctly the message to Gitter. But if I send a Gitter message, it doesn't relay it to Discord AFAIK. Can someone help me? I can't find any issue that relates to my problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants