Skip to content

Commit 510eaf1

Browse files
committed
Adjust contact pushName. Not save when in message.upsert and the pushName is from the instance name
1 parent 1e5d62c commit 510eaf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/integrations/channel/evolution/evolution.channel.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ export class EvolutionStartupService extends ChannelStartupService {
164164

165165
await this.updateContact({
166166
remoteJid: messageRaw.key.remoteJid,
167-
pushName: messageRaw.key.fromMe ? '' : (messageRaw.key.fromMe == null ? '' : messageRaw.pushName),
167+
pushName: messageRaw.key.fromMe ? '' : (messageRaw.key.fromMe == null ? '' : received.pushName),
168168
profilePicUrl: received.profilePicUrl,
169169
});
170170
}

0 commit comments

Comments
 (0)