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

Reply to All RoomMessageEvents #805

Merged
merged 4 commits into from
Oct 2, 2024

Conversation

nvrWhere
Copy link
Collaborator

@nvrWhere nvrWhere commented Sep 23, 2024

As of v1.3 of the spec any RoomMessageEvent can be used to reply to another. This moves the EventRelation out of text content and makes it a part of RoomMessageEvent itself.

This is part 1 which is just reworking the API in RoomMessageEvent, there will be further follow up to hook it up so that you can add an EventRelation to all the helpers for sending RoomMessageEvents in Room.

This also fixes a couple of cock ups in the dump to functions from my last commit.

Copy link
Member

@KitsuneRal KitsuneRal left a comment

Choose a reason for hiding this comment

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

Overall LGTM, I'll give it another round of review later today or tomorrow. Should be still good for 0.9; TextContent API gets reduced but I think clients can work around that.

Quotient/events/roommessageevent.cpp Outdated Show resolved Hide resolved
@KitsuneRal KitsuneRal added the enhancement A feature or change request for the library label Sep 30, 2024
KitsuneRal
KitsuneRal previously approved these changes Sep 30, 2024
Copy link
Member

@KitsuneRal KitsuneRal left a comment

Choose a reason for hiding this comment

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

A few brush-ups throughout the code but overall good to go. Feel free to add the Room changes here if you already have them waiting; if not, I'll go and merge this one.

Quotient/events/roommessageevent.cpp Outdated Show resolved Hide resolved
Quotient/events/roommessageevent.cpp Outdated Show resolved Hide resolved
Quotient/events/roommessageevent.cpp Outdated Show resolved Hide resolved
Quotient/events/roommessageevent.cpp Outdated Show resolved Hide resolved
Quotient/events/roommessageevent.cpp Show resolved Hide resolved
Quotient/events/roommessageevent.cpp Outdated Show resolved Hide resolved
Quotient/events/roommessageevent.cpp Outdated Show resolved Hide resolved
Quotient/events/eventrelation.cpp Outdated Show resolved Hide resolved
Quotient/events/eventrelation.cpp Outdated Show resolved Hide resolved
@nvrWhere
Copy link
Collaborator Author

nvrWhere commented Oct 2, 2024

Feel free to add the Room changes here if you already have them waiting; if not, I'll go and merge this one.

My plan was to do that as a follow up

@KitsuneRal KitsuneRal merged commit 28ce82e into quotient-im:dev Oct 2, 2024
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
Status: 0.9 - Done
Development

Successfully merging this pull request may close these issues.

2 participants