dendrite/roomserver/storage/postgres
Neil Alexander 05c83923e3
Optimise checking other servers allowed to see events (#2596)
* Try optimising checking if server is allowed to see event

* Fix error

* Handle case where snapshot NID is 0

* Fix query

* Update SQL

* Clean up `CheckServerAllowedToSeeEvent`

* Not supported on SQLite

* Maybe placate the unit tests

* Review comments
2022-08-01 14:11:00 +01:00
..
deltas Update database migrations, remove goose (#2264) 2022-07-25 10:39:22 +01:00
event_json_table.go Add roomserver tests (1/?) (#2434) 2022-05-09 15:30:32 +02:00
event_state_keys_table.go Add roomserver tests (1/?) (#2434) 2022-05-09 15:30:32 +02:00
event_types_table.go Add roomserver tests (1/?) (#2434) 2022-05-09 15:30:32 +02:00
events_table.go Add roomserver tests (3/4) (#2447) 2022-05-16 19:33:16 +02:00
invite_table.go Add roomserver tests (2/?) (#2445) 2022-05-10 14:41:12 +02:00
membership_table.go Update database migrations, remove goose (#2264) 2022-07-25 10:39:22 +01:00
previous_events_table.go Add roomserver tests (2/?) (#2445) 2022-05-10 14:41:12 +02:00
published_table.go Add roomserver tests (2/?) (#2445) 2022-05-10 14:41:12 +02:00
redactions_table.go Add roomserver tests (2/?) (#2445) 2022-05-10 14:41:12 +02:00
room_aliases_table.go Add roomserver tests (3/4) (#2447) 2022-05-16 19:33:16 +02:00
rooms_table.go Add roomserver tests (3/4) (#2447) 2022-05-16 19:33:16 +02:00
state_block_table.go Add roomserver tests (3/4) (#2447) 2022-05-16 19:33:16 +02:00
state_snapshot_table.go Optimise checking other servers allowed to see events (#2596) 2022-08-01 14:11:00 +01:00
storage.go Update database migrations, remove goose (#2264) 2022-07-25 10:39:22 +01:00