Commit graph

4 commits

Author SHA1 Message Date
Piotr Kozimor 5ccfe77cea Fix linter errors 2021-12-06 15:08:36 +01:00
Piotr Kozimor 1dbcd842b0 Rename to UpsertPusher for clarity and handle pusher update 2021-12-06 13:17:48 +01:00
Tommie Gannert 74b74bf6d6 Implement read receipt consumers in Pushserver.
Supports m.read and m.fully_read receipts.
2021-12-03 19:43:23 +01:00
Tommie Gannert ce1255e7db Use PushGatewayClient and the pushrules module in Pushserver's room consumer.
* Use one goroutine per user to avoid locking up the entire server for
  one bad push gateway.
* Split pushing by format.
* Send one device per push. Sytest does not support coalescing
  multiple devices into one push. Matches Synapse. Either we change
  Sytest, or remove the group-by-url-and-format logic.
* Write OutputNotificationData from push server. Sync API is already
  the consumer.
2021-12-03 19:43:02 +01:00