| Commit message (Collapse) | Author | Files | Lines |
|
Fixes a bug where the alias would be added, but `PUT /directory/room/<alias>`
would return a 403.
|
|
|
|
I'm going to need another copy (hah!) of this.
|
|
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.
|
|
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.
|
|
We ended up only returning a single device, rather than all of them.
|
|
|
|
|