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

Bridge joins to whatsapp as invites using relaybot user #694

Open
uumas opened this issue May 8, 2024 · 2 comments
Open

Bridge joins to whatsapp as invites using relaybot user #694

uumas opened this issue May 8, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@uumas
Copy link

uumas commented May 8, 2024

I have a room bridged to a whatsapp group with a relaybot. It works fine for users who are not logged into the bridge, but for users who are logged in and join the room in matrix, it gives the error "Your message may not have been bridged: failed to get group members: you're not participating in that group". I would except the bridge to either bridge their messages using the relaybot too or invite their whatsapp user to the whatsapp group.

This works correctly, if another user who is logged in to the bridge and can invite others to the whatsapp group invites the new matrix-user, but not if the matrix user joins the (public) room themselves or if a non-logged in user or a user without permissions to invite to whatsapp group invites them to the matrix room. In these cases, the relaybot should invite the user on whatsapp-side, assuming it has permission in whatsapp to do so.

@uumas uumas added the enhancement New feature or request label May 8, 2024
@uumas
Copy link
Author

uumas commented May 8, 2024

possibly a better idea: Use the relaybot to get the group invite link on whatsapp and join the user with that

@olmari
Copy link
Contributor

olmari commented May 22, 2024

In general case it would be nice if bridge would handle this kind of case gracefully. There can be reasons an person doesn't really want to be in whatsapp side of the room (say, just in general to disliking WA and driving the point), then it would be nice that bridge would relay it normally instead erroring out. Anyway, +1 for this from me :)

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

2 participants