Commit graph

2 commits

Author SHA1 Message Date
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
Piotr Kozimor 2db65e1b43 Wire Pushserver component
Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2021-11-19 12:59:51 +01:00