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

A command to create a portal room to a specific channel in a guild space on-demand #96

Open
HonbraDev opened this issue Jun 24, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@HonbraDev
Copy link

HonbraDev commented Jun 24, 2023

Problem

Currently, there is no way to automatically create a portal room in a guild's space on Matrix on-demand, the closest thing to that is setting the bridging mode to on-message-create and sending a message.

Proposal

Add a create-portal command that takes a channel ID as an argument and creates the portal as if the bridging mode was on-message-create and a message has been sent. This would also be a good place to specify a one-off backfill request for that room only, though that would be a separate issue.

Usecase

A user joins a guild on Discord with a lot of channels, but they only want a few of those bridged to Matrix. If they bridged all rooms, they'd have to spend extra time deleting unwanted rooms and waste server resources. If they bridged rooms when new messages came, they'd have to send a message in every channel they'd want to bridge (keep in mind that a user cannot sometimes speak in a channel).

Considerations

A user could create the room themselves, invite the bridge bot to it and set it as the portal room for a specific channel, but that would be a longer process than executing one command and could lead to inconsistencies across different rooms and mildly annoy people like me.

Notes

I am starting to look at the codebase since I use this bridge daily, but it will take some time for me to understand it since I mainly write Rust code.

@HonbraDev HonbraDev added the enhancement New feature or request label Jun 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant