You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
the contact was completely new to the whatsapp bridge and was not on the phone's contact list.
2.the contact was not on matrix as well.
If i use the !wa pm --force ... phone_number to initiate the chat, everything works as expected.
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:
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: