courrier multi account restore compose
This commit is contained in:
parent
62101bd1d2
commit
85efb768cf
@ -86,7 +86,8 @@ export async function getImapConnection(
|
||||
throw new Error('Invalid email credentials configuration');
|
||||
}
|
||||
|
||||
const connectionKey = `${userId}:${credentials.email}`;
|
||||
// Use accountId in connection key to ensure different accounts get different connections
|
||||
const connectionKey = `${userId}:${accountId || 'default'}`;
|
||||
const existingConnection = connectionPool[connectionKey];
|
||||
|
||||
// Try to get session data from Redis
|
||||
|
||||
Loading…
Reference in New Issue
Block a user