mirror of
https://github.com/matrix-org/dendrite
synced 2024-12-14 15:22:50 +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. |
||
---|---|---|
.. | ||
acls.go | ||
acls_test.go |