hifi / heisenbridge

a bouncer-style Matrix IRC bridge
MIT License
244 stars 34 forks source link

Feature Request: Add setting to allow users from other homeservers to use the bot #272

Closed NovaAndrom3da closed 1 year ago

NovaAndrom3da commented 1 year ago

I was thinking something along the lines of how the mautrix bridges work, with allowing a whitelist of servers or a regex to match for. I have a homeserver set up that I use mainly for hosting AS bots and would like to use those bots from my main matrix instance I use, inclding heisenbridge.

hifi commented 1 year ago

Use ADDMASK to allow users from other homeservers in your DM with the bridge bot. See ADDMASK -h for examples.

NovaAndrom3da commented 1 year ago

Oh, okay, thank you :)

NovaAndrom3da commented 1 year ago

@hifi It seems to only partially work- the first message I send to the room from the remote server is processed, but none of the others are. It doesn't seem like there's anything useful in stdout, either. The bot still works from the user on the local HS.

NovaAndrom3da commented 1 year ago

Actually, it seems like no messages I send are processed. This is interesting...

NovaAndrom3da commented 1 year ago

Ooooookay, so it seems to work, it's just unbearably slow. Any ideas what I could do to fix that?

NovaAndrom3da commented 1 year ago

Turned off ratelimiting for the remote user, and I think it worked... Thanks for your help.