hifi / heisenbridge

a bouncer-style Matrix IRC bridge
MIT License
241 stars 32 forks source link

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

Closed NovaAndrom3da closed 11 months ago

NovaAndrom3da commented 11 months 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 11 months ago

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

NovaAndrom3da commented 11 months ago

Oh, okay, thank you :)

NovaAndrom3da commented 11 months 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 11 months ago

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

NovaAndrom3da commented 11 months ago

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

NovaAndrom3da commented 11 months ago

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