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

Remove unused ReactionNotificationContent #2485

Merged

Conversation

polqf
Copy link
Contributor

@polqf polqf commented Feb 8, 2023

🔗 Issue Links

Resolves #2448

🎯 Goal

Remove misleading reference to reaction push notifications

📝 Summary

Stream does not send push notifications when a reaction is added/removed from a message, but the code was suggesting otherwise. This PR removes the unused code.

☑️ Contributor Checklist

  • I have signed the Stream CLA (required)
  • This change follows zero ⚠️ policy (required)
  • This change should be manually QAed
  • Changelog is updated with client-facing changes
  • New code is covered by unit tests
  • Comparison screenshots added for visual changes
  • Affected documentation updated (docusaurus, tutorial, CMS)

🎁 Meme

@polqf polqf marked this pull request as ready for review February 8, 2023 16:13
@polqf polqf requested a review from a team as a code owner February 8, 2023 16:13
CHANGELOG.md Outdated
Comment on lines 11 to 13
### 💥 Removed
- Remove unused ReactionNotificationContent [#2485](https://github.com/GetStream/stream-chat-swift/pull/2485)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should add this to the Changed section? The 💥 might be too alarming, for something which is dead code 🤔

@polqf polqf force-pushed the bugfix/remove-unused-reactions-notification-handler branch from 7c7467c to 1cfe29b Compare February 9, 2023 11:02
@sonarcloud
Copy link

sonarcloud bot commented Feb 9, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Copy link
Member

@nuno-vieira nuno-vieira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! ✅

@martinmitrevski martinmitrevski merged commit 50e1559 into develop Feb 13, 2023
@martinmitrevski martinmitrevski deleted the bugfix/remove-unused-reactions-notification-handler branch February 13, 2023 10:18
@polqf polqf mentioned this pull request Feb 16, 2023
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.

Remove reaction notification handling
3 participants