feat(channel): enhance pushName logic for messages by gomessguii · Pull Request #1457 · EvolutionAPI/evolution-api · GitHub
Skip to content

feat(channel): enhance pushName logic for messages#1457

Merged
DavidsonGomes merged 1 commit intoEvolutionAPI:developfrom
gomessguii:fix/message-query
May 16, 2025
Merged

feat(channel): enhance pushName logic for messages#1457
DavidsonGomes merged 1 commit intoEvolutionAPI:developfrom
gomessguii:fix/message-query

Conversation

@gomessguii
Copy link
Copy Markdown
Member

@gomessguii gomessguii commented May 16, 2025

  • Updated the pushName selection to differentiate between group and individual messages.
  • Added conditional logic to display the chat name for group messages and the sender's name for individual messages.

Summary by Sourcery

Enhance pushName logic to differentiate between group and individual messages and adjust outgoing message name display

Enhancements:

  • Use group chat name for pushName in group messages and fallback to contact or message name for individual messages
  • Display 'Você' as the lastMessagePushName for messages sent by the current user

- Updated the pushName selection to differentiate between group and individual messages.
- Added conditional logic to display the chat name for group messages and the sender's name for individual messages.
@sourcery-ai
Copy link
Copy Markdown
Contributor

sourcery-ai Bot commented May 16, 2025

@DavidsonGomes DavidsonGomes merged commit 33c808b into EvolutionAPI:develop May 16, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants