mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-23 04:22:02 -06:00
Adjust contact pushName. Not save when in message.upsert and the pushName is from the instance name
This commit is contained in:
parent
1e5d62c777
commit
510eaf1141
@ -164,7 +164,7 @@ export class EvolutionStartupService extends ChannelStartupService {
|
||||
|
||||
await this.updateContact({
|
||||
remoteJid: messageRaw.key.remoteJid,
|
||||
pushName: messageRaw.key.fromMe ? '' : (messageRaw.key.fromMe == null ? '' : messageRaw.pushName),
|
||||
pushName: messageRaw.key.fromMe ? '' : (messageRaw.key.fromMe == null ? '' : received.pushName),
|
||||
profilePicUrl: received.profilePicUrl,
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user