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

Portal of message to myself fails #188

Closed
iexos opened this issue May 24, 2020 · 1 comment
Closed

Portal of message to myself fails #188

iexos opened this issue May 24, 2020 · 1 comment

Comments

@iexos
Copy link

iexos commented May 24, 2020

Steps to reproduce:

  • in WA app: write messages to yourself
  • ask whatsapp bridge bot to create portal to your own phone number ( with -f)
  • try to join the created room

Actual result:

  • join fails with (something like): "Cannot join empty room - No known servers"
  • trying to recreate portal later fails (see log)

Expected result:

  • can join room and chat with myself

Logs after restarting bridge: (I don't have the logs at time of portal creation anymore)

[2020-05-24 11:12:23] [Portal/[phonenumber]@s.whatsapp.net/WARN] Failed to ensure @user:matrix.host is invited to !HRtFxQDBAxVgZVruYE:matrix.host: msg=Failed to POST JSON to /_matrix/client/r0/rooms/!HRtFxQDBAxVgZVruYE:matrix.host/invite code=403 wrapped=M_FORBIDDEN: @whatsapp_[user_phonenumber]:matrix.host not in room !HRtFxQDBAxVgZVruYE:matrix.host.
[2020-05-24 11:12:24] [Portal/[phonenumber]@s.whatsapp.net/ERROR] Failed to handle message 6C289F535DE679310528F0BFA0CFFF59: failed to ensure joined: msg=Failed to POST JSON to /_matrix/client/r0/rooms/!HRtFxQDBAxVgZVruYE:matrix.host/join code=404 wrapped=M_UNKNOWN: No known servers
# after asking whatsapp bridge bot to create portal
msg=Failed to POST JSON to /_matrix/client/r0/rooms/!HRtFxQDBAxVgZVruYE:matrix.host/invite code=403 wrapped=M_FORBIDDEN: @whatsapp_[user_phonenumber]:matrix.host not in room !HRtFxQDBAxVgZVruYE:matrix.host.

Use Case: I wanted to copy some older messages, that did not get bridged, to myself to use them in matrix. There is no other easy way to transfer messages from the whatsapp phone. I can also imagine using it to see how a message will look like on WA before sending it to others.

@Rafaeltheraven
Copy link
Contributor

You could use the old whatsapp trick. Make a whatsapp group with only you and 1 other person, then kick the other person. That way you have a group with only you that you can send messages to.
This method works with the bridge bot.

@tulir tulir closed this as completed in 7dc4632 Jul 5, 2020
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

2 participants