Merge pull request #1420 from luiis716/main

Findchat group name treatment
This commit is contained in:
Davidson Gomes 2025-05-13 06:28:21 -03:00 committed by GitHub
commit 6d63f2fb6e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -724,6 +724,7 @@ export class ChannelStartupService {
to_timestamp("Message"."messageTimestamp"::double precision),
"Contact"."updatedAt"
) as "updatedAt",
"Chat"."name" as "pushName",
"Chat"."createdAt" as "windowStart",
"Chat"."createdAt" + INTERVAL '24 hours' as "windowExpires",
CASE WHEN "Chat"."createdAt" + INTERVAL '24 hours' > NOW() THEN true ELSE false END as "windowActive",