---
CONTRIBUTING.md | 2 +-
README.md | 6 +++---
evolution-manager-v2 | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 595600cc05..8aa5df1c7f 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -12,7 +12,7 @@ Harassment, discrimination, or abusive behavior will not be tolerated.
### Reporting Bugs
-1. Check existing [issues](https://github.com/EvolutionAPI/evolution-api/issues)
+1. Check existing [issues](https://github.com/evolution-foundation/evolution-api/issues)
to avoid duplicates
2. Open a new issue with:
- Clear, descriptive title
diff --git a/README.md b/README.md
index 98218c5f8a..4586e4028a 100644
--- a/README.md
+++ b/README.md
@@ -11,7 +11,7 @@
-
+
@@ -37,7 +37,7 @@ Evolution API began as a WhatsApp controller API based on [CodeChat](https://git
## Part of the Evolution Foundation ecosystem
-Evolution API is one of the messaging engines maintained by Evolution Foundation. It is used as a WhatsApp provider by the [Evo CRM Community](https://github.com/EvolutionAPI/evo-crm-community) and other projects in the ecosystem.
+Evolution API is one of the messaging engines maintained by Evolution Foundation. It is used as a WhatsApp provider by the [Evo CRM Community](https://github.com/evolution-foundation/evo-crm-community) and other projects in the ecosystem.
---
@@ -80,7 +80,7 @@ Evolution API integrates natively with many platforms:
### Installation
```bash
-git clone git@github.com:EvolutionAPI/evolution-api.git
+git clone git@github.com:evolution-foundation/evolution-api.git
cd evolution-api
# Install dependencies
diff --git a/evolution-manager-v2 b/evolution-manager-v2
index f054b9bc28..3137df4695 160000
--- a/evolution-manager-v2
+++ b/evolution-manager-v2
@@ -1 +1 @@
-Subproject commit f054b9bc28083152d4948f835e3346fd0add39db
+Subproject commit 3137df469504ce211c68e7b35f0706497ac1b95f
From fa09d37892cdbb1d65a250155d293d92230c5b30 Mon Sep 17 00:00:00 2001
From: Davidson Gomes
Date: Wed, 6 May 2026 14:38:27 -0300
Subject: [PATCH 4/5] docs(org): update nested submodule URLs from EvolutionAPI
to evolution-foundation
Co-Authored-By: Claude Opus 4.7 (1M context)
---
.gitmodules | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.gitmodules b/.gitmodules
index ef5b3e63cf..54a177465b 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +1,3 @@
[submodule "evolution-manager-v2"]
path = evolution-manager-v2
- url = https://github.com/EvolutionAPI/evolution-manager-v2.git
+ url = https://github.com/evolution-foundation/evolution-manager-v2.git
From c24d476f617294fc382d4f7ed6f21948e45e8767 Mon Sep 17 00:00:00 2001
From: Bruno Eduardo Santos
Date: Fri, 24 Jul 2026 08:56:45 -0300
Subject: [PATCH 5/5] fix: fecha socket anterior antes de recriar cliente
Baileys
QR Code as vezes era gerado mas o WhatsApp respondia com "Nao foi
possivel conectar o dispositivo". Causa raiz: createClient sobrescrevia
this.client com um novo makeWASocket(...) sem fechar o socket anterior,
deixando handlers de evento antigos vivos e disputando a mesma
authState/credenciais com o socket novo - corrompendo o handshake da
nova sessao.
Antes de criar o socket novo, fecha explicitamente o anterior
(ws.close() + end()), reaproveitando o mesmo padrao ja usado no
handler de connection.update para fechamento de conexao ('close').
---
.../channel/whatsapp/whatsapp.baileys.service.ts | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts b/src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts
index 60e857fcc1..0a047865a8 100644
--- a/src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts
+++ b/src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts
@@ -695,6 +695,15 @@ export class BaileysStartupService extends ChannelStartupService {
this.endSession = false;
+ if (this.client) {
+ try {
+ this.client.ws?.close();
+ this.client.end(new Error('Recreating socket connection'));
+ } catch (error) {
+ this.logger.warn(`Error closing previous socket before recreating client: ${error}`);
+ }
+ }
+
this.client = makeWASocket(socketConfig);
if (this.localSettings.wavoipToken && this.localSettings.wavoipToken.length > 0) {