Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: quoted message deleted logic in Reply component #2290

Merged
merged 1 commit into from
Nov 8, 2023

Conversation

khushal87
Copy link
Member

@khushal87 khushal87 commented Nov 8, 2023

🎯 Goal

Most of our deleted message checks depend on message.type === "deleted" but the Reply.tsx component doesn't have the same logic and depends on message.deleted_at to be defined. We tend to solve it in this PR.

🛠 Implementation details

The message.deleted_at is changed to message.type === "deleted".

🎨 UI Changes

None

🧪 Testing

None

☑️ 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

@khushal87 khushal87 requested a review from santhoshvai November 8, 2023 05:53
@santhoshvai santhoshvai merged commit 0a87c7f into develop Nov 8, 2023
7 checks passed
@santhoshvai santhoshvai deleted the reply-deleted-logic branch November 8, 2023 09:34
@stream-ci-bot
Copy link
Contributor

🎉 This PR is included in version 5.21.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants