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: Remove BasicRoomEvent type #1999

Merged
merged 2 commits into from
Jan 9, 2025

Conversation

krille-chan
Copy link
Contributor

We actually never use the
roomId of this type and the
matrix spec has changed in
a way that the roomId is
never sent there actually. So
it was super easy to just
replace all BasicRoomEvent
with BasicEvent. The roomId
became nullable anyway.

@krille-chan krille-chan requested a review from a team as a code owner January 9, 2025 07:40
Copy link
Contributor

@coder-with-a-bushido coder-with-a-bushido left a comment

Choose a reason for hiding this comment

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

LGTM but CI is failing for some reason

Copy link
Member

@td-famedly td-famedly left a comment

Choose a reason for hiding this comment

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

weird that we never used roomId anywhere

We actually never use the
roomId of this type and the
matrix spec has changed in
a way that the roomId is
never sent there actually. So
it was super easy to just
replace all BasicRoomEvent
with BasicEvent. The roomId
became nullable anyway.
@krille-chan krille-chan force-pushed the krille/remove-basic-room-event branch from 550d4d0 to 3f04532 Compare January 9, 2025 10:05
@krille-chan krille-chan enabled auto-merge January 9, 2025 10:05
@krille-chan krille-chan merged commit 928f6ba into main Jan 9, 2025
15 checks passed
@krille-chan krille-chan deleted the krille/remove-basic-room-event branch January 9, 2025 11:15
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.

3 participants