Skip to content

Conversation

@frankcalise
Copy link
Contributor

@frankcalise frankcalise commented Dec 11, 2025

🎯 Goal

🛠 Implementation details

Applies the translated message text to the clipboard if available. Otherwise, falls back to the original message text (which is the current implementation).

🧪 Testing

While running a React Native app in development with the Metro Server, make the same edits to node_modules/stream-chat-react-native-core/src/components/Message/hooks/useMessageActionHandlers.ts and follow the reproduction steps in the issue. You will see that after the applied changes, the copied text matches expectations (the string the user is reading), rather than the original untranslated text.

☑️ Checklist

  • I have signed the Stream CLA (required)
  • PR targets the develop branch
  • Documentation is updated
  • New code is tested in main example apps, including all possible scenarios
    • SampleApp iOS and Android
    • Expo iOS and Android

@isekovanic isekovanic merged commit 43a04c6 into GetStream:develop Dec 12, 2025
3 of 5 checks passed
This was referenced Dec 12, 2025
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.

[🔥] Copy Message action handler copies the original message, not the translated one

2 participants