[PR #53] [CLOSED] fix: improve session ID extraction from credentials directory #62

Closed
opened 2026-02-27 10:25:46 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mimamch/wa-multi-session/pull/53
Author: @Spermadonor
Created: 5/29/2025
Status: Closed

Base: masterHead: fix/session-id-extraction


📝 Commits (1)

  • 98c8cc4 fix: improve session ID extraction from credentials directory

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 src/Socket/index.ts (+1 -1)

📄 Description

The change correctly handles session IDs that contain underscore characters by using lastIndexOf('_') to find the '_credentials' suffix. This ensures that session IDs like 'my_test' are properly loaded from 'my_test_credentials' directory.


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

## 📋 Pull Request Information **Original PR:** https://github.com/mimamch/wa-multi-session/pull/53 **Author:** [@Spermadonor](https://github.com/Spermadonor) **Created:** 5/29/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `fix/session-id-extraction` --- ### 📝 Commits (1) - [`98c8cc4`](https://github.com/mimamch/wa-multi-session/commit/98c8cc425c721e0965dd97d384b081f533d722ac) fix: improve session ID extraction from credentials directory ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/Socket/index.ts` (+1 -1) </details> ### 📄 Description The change correctly handles session IDs that contain underscore characters by using lastIndexOf('_') to find the '_credentials' suffix. This ensures that session IDs like 'my_test' are properly loaded from 'my_test_credentials' directory. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 10:25:46 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/wa-multi-session-mimamch#62
No description provided.