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

Move replaced event getters to RoomMessageEvent #578

Merged
merged 1 commit into from
Oct 17, 2022

Conversation

KitsuneRal
Copy link
Member

Aligns Quotient with v1.4 spec. If needed, I can provide deprecated methods in the old place; but AIUI it's enough (and more correct) to downcast to RoomMessageEvent and only check them if the downcast is not null.

Closes #490.

@sonarqubecloud
Copy link

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

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@KitsuneRal KitsuneRal added the enhancement A feature or change request for the library label Oct 17, 2022
@KitsuneRal KitsuneRal merged commit ea3e017 into dev Oct 17, 2022
@KitsuneRal KitsuneRal deleted the kitsune/move-replace-to-msg-event branch October 17, 2022 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A feature or change request for the library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Event replacement API spans two classes
2 participants