summary refs log tree commit diff
path: root/synapse/logging/utils.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-01-29Make /directory/room/<alias> handle restrictive power levelsRichard van der Hoff1-1/+6
Fixes a bug where the alias would be added, but `PUT /directory/room/<alias>` would return a 403.
2020-01-29Set the PL for aliases events to 0.Richard van der Hoff2-3/+16
2020-01-29Factor out a `copy_power_levels_contents` methodRichard van der Hoff3-15/+90
I'm going to need another copy (hah!) of this.
2020-01-29Fix race in federation sender that delayed device updates. (#6799)Erik Johnston3-30/+23
We were sending device updates down both the federation stream and device streams. This mean there was a race if the federation sender worker processed the federation stream first, as when the sender checked if there were new device updates the slaved ID generator hadn't been updated with the new stream IDs and so returned nothing. This situation is correctly handled by events/receipts/etc by not sending updates down the federation stream and instead having the federation sender worker listen on the other streams and poke the transaction queues as appropriate.
2020-01-29Delete current state when server leaves a room (#6792)Erik Johnston3-75/+198
Otherwise its just stale data, which may get deleted later anyway so can't be relied on. It's also a bit of a shotgun if we're trying to get the current state of a room we're not in.
2020-01-29Fix bug when querying remote user keys that require a resync. (#6796)Erik Johnston2-1/+3
We ended up only returning a single device, rather than all of them.
2020-01-28Fix outbound federation request metrics (#6795)Erik Johnston2-0/+5
2020-01-28fix bad variable refRichard van der Hoff1-1/+1
2020-01-28