mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-19 03:42:23 -06:00
Refactor Instance Management with Additional Profile Information
- Added new fields `ownerJid`, `profileName`, and `profilePicUrl` to the Instance DTO for improved user identification and personalization. - Updated InstanceController to include the new profile information in instance data handling. - Enhanced WAMonitoringService to utilize the additional profile fields, improving the context of instance data during monitoring operations.
This commit is contained in:
@@ -221,6 +221,9 @@ export class WAMonitoringService {
|
||||
data: {
|
||||
id: data.instanceId,
|
||||
name: data.instanceName,
|
||||
ownerJid: data.ownerJid,
|
||||
profileName: data.profileName,
|
||||
profilePicUrl: data.profilePicUrl,
|
||||
connectionStatus:
|
||||
data.integration && data.integration === Integration.WHATSAPP_BAILEYS ? 'close' : (data.status ?? 'open'),
|
||||
number: data.number,
|
||||
|
||||
Reference in New Issue
Block a user