mirror of
https://github.com/mimamch/wa-multi-session.git
synced 2026-04-25 00:36:08 +03:00
[PR #68] [MERGED] update deprecated pairing code method with beta testing #69
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/mimamch/wa-multi-session/pull/68
Author: @iniadil
Created: 12/20/2025
Status: ✅ Merged
Merged: 12/21/2025
Merged by: @mimamch
Base:
master← Head:master📝 Commits (2)
2a64b75added pairing code method (beta testing)4febaa9Merge pull request #2 from iniadil/postgres📊 Changes
2 files changed (+46 additions, -9 deletions)
View changed files
📝
readme.md(+12 -0)📝
src/Socket/index.ts(+34 -9)📄 Description
regarding on the official baileys: [bailyes](https://baileys.wiki/docs/socket/connecting#pairing-code-login)

added small delay on pairing code method and a check to ensure the code don't request multiple times, which should prevent the "Connection Closed" error.
isPairingCodeRequested-> Prevents race conditions / multiple requestsi've tested and works perfectly with maybe 1-3s code appear. but, we need more flow test to make sure the pairing code works.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.