From c078d6ec297420944971ca7eabd3fcb5764e4403 Mon Sep 17 00:00:00 2001 From: Sami Olmari Date: Sat, 3 Aug 2024 02:06:11 +0300 Subject: [PATCH] Update whatsapp.md with pairing code login method --- src/matrix/whatsapp.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/matrix/whatsapp.md b/src/matrix/whatsapp.md index e66377b..c0fbea8 100644 --- a/src/matrix/whatsapp.md +++ b/src/matrix/whatsapp.md @@ -13,11 +13,12 @@ There also exist instructions how to run Android in virtual machine so you could ## Set up - Start a chat with the bridge bot `@whatsappbot:hacklab.fi`. The bot should say "This room has been registered as your bridge management/status room." if you started the chat correctly. -- Run 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 WhatsApp Web. - - Point your phone at the image sent by the bot to capture the code. + - To log in by entering a 8-letter code on your phone, enter: `login +358123456789`. + - To log in by scanning the QR code, enter: `login`. 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. + - Log in by QR-code: Point your phone at the image sent by the bot to capture the code. + - Log in with pairing code: Tap "Link with a phone number instead". - Finally, the bot should inform you of a successful login and the bridge should start creating portal rooms for all your WhatsApp groups and private chats. ### Double puppeting (recommended)