summary refs log tree commit diff
path: root/synapse/handlers/devicemessage.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Ensure the user ID is serialized in the payload instead of used as an ↵Patrick Cloke2021-01-181-1/+1
| | | | instance name. (#9130)
* Allow running sendToDevice on workers (#9044)Erik Johnston2021-01-071-8/+23
|
* Ensure that remote users' device list resyncing always happens on master (#9043)Erik Johnston2021-01-071-4/+13
| | | Currently `DeviceMessageHandler` only ever exists on master, but that is about to change.
* Add type hints to some handlers (#8505)Patrick Cloke2020-10-091-8/+17
|
* Stop sub-classing object (#8249)Patrick Cloke2020-09-041-1/+1
|
* Use the JSON encoder without whitespace in more places. (#8124)Patrick Cloke2020-08-201-3/+2
|
* Convert the device message and pagination handlers to async/await. (#7678)Patrick Cloke2020-06-161-15/+10
|
* Resync remote device list when detected as stale. (#6786)Erik Johnston2020-01-301-2/+8
|
* Detect unknown remote devices and mark cache as stale (#6776)Erik Johnston2020-01-281-2/+55
| | | | We just mark the fact that the cache may be stale in the database for now.
* Remove usage of deprecated logger.warn method from codebase (#6271)Andrew Morgan2019-10-311-1/+1
| | | Replace every instance of `logger.warn` with `logger.warning` as the former is deprecated.
* Link the send loop with the edus contextsJorik Schellekens2019-09-051-4/+1
| | | | | | The contexts were being filtered too early so the send loop wasn't being linked to them unless the destination was whitelisted.
* Opentrace device lists (#5853)Jorik Schellekens2019-09-031-1/+5
| | | Trace device list changes.
* Propagate opentracing contexts through EDUs (#5852)Jorik Schellekens2019-08-221-6/+21
| | | | | Propagate opentracing contexts through EDUs Co-Authored-By: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
* Run Black. (#5482)Amber Brown2019-06-201-4/+3
|
* run isortAmber Brown2018-07-091-2/+1
|
* Split out edu/query registration to a separate classErik Johnston2018-03-131-1/+1
|
* Sanity checking for user idsRichard van der Hoff2018-01-171-3/+11
| | | | | | | | Check the user_id passed to a couple of APIs for validity, to avoid "IndexError: list index out of range" exception which looks scary and results in a 500 rather than a more useful error. Fixes #1432, among other things
* Use new federation_sender DIErik Johnston2016-11-161-2/+2
|
* Add a new method to enqueue the device messages rather than sending a dummy EDUMark Haines2016-09-071-7/+3
|
* Send device messages over federationMark Haines2016-09-061-0/+121