mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-09 22:42:58 +00:00
b8f91485b4
This should fix #3004 by making sure we also update our in-memory ACLs after joining a new room. Also makes use of more caching in `GetStateEvent` Bonus: Adds some tests, as I was about to use `GetBulkStateContent`, but turns out that `GetStateEvent` is basically doing the same, just that it only gets the `eventTypeNID`/`eventStateKeyNID` once and not for every call. |
||
---|---|---|
.. | ||
event_json_table_test.go | ||
event_state_keys_table_test.go | ||
event_types_table_test.go | ||
events_table_test.go | ||
interface_test.go | ||
interface.go | ||
invite_table_test.go | ||
membership_table_test.go | ||
previous_events_table_test.go | ||
published_table_test.go | ||
redactions_table_test.go | ||
room_aliases_table_test.go | ||
rooms_table_test.go | ||
state_block_table_test.go | ||
state_snapshot_table_test.go | ||
user_room_keys_table_test.go |