-
-
Notifications
You must be signed in to change notification settings - Fork 168
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
Inviting a non-contact matrix puppet of whatsApp user to a new room don't work as expected #284
Comments
I think i have an equivalent issue but in the other way. An unknown contact send me a message on WA and the bridge has crashed after create the room and invite me in.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When i tried to invite the matrix puppet of a whatsapp contact to a room ( @whatsapp_xxxxxxxxxxxx:matrix-home-server.org ) , the puppet didn't get properly invited.
Some context for this behavior:
2.the contact was not on matrix as well.
I investigated the issue here and i found out that this was because the bridge bot was silently receiving the error
"SynapseError: 403 - Application service has not registered this user" and thus, aborting the process of creating the private portal.
I located the issue on the HandlePuppetInvite handler when it was checking the members of the room ( method joinAndCheckMembers () ). I suppose since the puppet was recently created, it was not yet registered on matrix.
I don't know if this was an intentional behavior, but i patched the code and now it's working perfectly.
If you think it's valid to provide a PR, let me know !
The text was updated successfully, but these errors were encountered: