Skip to content

Commit d522567

Browse files
authored
Findchat group name treatment
ajusta para endpoint puxa o nome do grupo correntemente quando for grupo usando nomenclatura @g.us
1 parent 427c994 commit d522567

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/services/channel.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ export class ChannelStartupService {
694694
SELECT DISTINCT ON ("Contact"."remoteJid")
695695
"Contact"."id",
696696
"Contact"."remoteJid",
697-
"Contact"."pushName",
697+
"Chat"."name" as "pushName",
698698
"Contact"."profilePicUrl",
699699
COALESCE(
700700
to_timestamp("Message"."messageTimestamp"::double precision),

0 commit comments

Comments
 (0)