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

Auto relay #139

Open
maltee1 opened this issue Mar 21, 2023 · 0 comments
Open

Auto relay #139

maltee1 opened this issue Mar 21, 2023 · 0 comments

Comments

@maltee1
Copy link
Contributor

maltee1 commented Mar 21, 2023

I believe that bridges should at least be configurable to require minimal user action and preferably just notify the user about what they're doing. Part of that effort was auto group creation for signal and Telegram (and possibly some day for WhatsApp).
I therefore think that relaying, if available, should be handled automatically.
The relaybot, if available, should be invited automatically when a group is created on the remote platform and there are non-logged in users in the room or a non-logged-in user is invited to an existing portal. Otherwise the inviting user should be set as a relay.
The relaybot should leave when it is no longer needed, as to not expose messages to it unnecessarily. Un-setting the relay user is probably not necessary.

One concern is that someone, typically the bridge admin, has credentials for a dedicated relaybot account, which is a problem if its use is enforced through such an automatism. While a malicious bridge admin can generally eavesdrop on conversations, this would build that into the bridge and make it more likely that it happens by accident, for example when checking on the account to clean up. This can be mitigated by automating clean-up, but ideally the account would be controlled by the appservice, so that regular login is not possible. This, however, would require registering/login to be available from an admin account, which is probably quite a bit of work.

This issue has already been briefly discussed somewhere, but I can't find where. I think it was in one of the rooms, I hope I'm not re-creating a closed issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant