mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-29 15:11:33 +00:00
c1e16fd41e
This fixes a temporary workaround with the `selectEventsWithEventIDsSQL` queries where fields need to be artificially added to the queries so the row results match the format of the `syncapi_output_room_events` table. I made similar functions that accept row results from the `syncapi_current_room_state` table and convert them into StreamEvents without the fields that are specific to output room events. There is also a unit test in the first commit to ensure the resulting behavior doesn't change from the modified queries and functions. Fixes #601. ### Pull Request Checklist <!-- Please read docs/CONTRIBUTING.md before submitting your pull request --> * [x] I have added tests for PR _or_ I have justified why this PR doesn't need tests. * [x] Pull request includes a [sign off](https://github.com/matrix-org/dendrite/blob/main/docs/CONTRIBUTING.md#sign-off) Signed-off-by: `Ashley Nelson <fant@shley.email>` Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com> |
||
---|---|---|
.. | ||
deltas | ||
account_data_table.go | ||
backwards_extremities_table.go | ||
current_room_state_table.go | ||
filter_table.go | ||
filtering.go | ||
ignores_table.go | ||
invites_table.go | ||
memberships_table.go | ||
notification_data_table.go | ||
output_room_events_table.go | ||
output_room_events_topology_table.go | ||
peeks_table.go | ||
presence_table.go | ||
receipt_table.go | ||
send_to_device_table.go | ||
stream_id_table.go | ||
syncserver.go |