mirror of https://github.com/mautrix/docs.git
1.5 KiB
1.5 KiB
Authentication
- Open a private chat with the bridge bot. Usually
@whatsappbot:your.server
- If the bot doesn't accept the invite, see the troubleshooting page
- Send
login
to start the login. - Log in by scanning the QR code. If the code expires before you scan it, the
bridge will send an error to notify you.
- Open WhatsApp on your phone.
- Tap Menu or Settings and select Linked devices.
- Point your phone at the image sent by the bot to capture the code.
- Finally, the bot should inform you of a successful login and the bridge should start creating portal rooms for your recent WhatsApp groups and private chats.
Please note that the bridge uses the web API. Prior to v0.2.0 and the multidevice update, your phone had to be connected to the internet for the bridge to work. After v0.2.0, it's enough if the phone is connected at least once every 2 weeks.
N.B. WhatsApp is known to ban accounts that are too suspicious. Just using the bridge shouldn't cause any bans, but getting banned is more likely when combining the bridge with other suspicious activity (running WhatsApp in an Android emulator, using VoIP numbers, using a newly created account, initiating DMs to non-contacts, etc).
Logging out
Simply run the logout
management command.