Send-to-device messages over federation (#1198)

* Initial work to send send-to-device messages over federation

* Wire up send-to-device consumer, message formatting

* Generate random message ID

* Review comments, update sytest whitelist
This commit is contained in:
Neil Alexander 2020-07-14 12:33:37 +01:00 committed by GitHub
parent 5355c289b9
commit 72b3160776
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 99 additions and 31 deletions

View file

@ -174,7 +174,7 @@ func (oqs *OutgoingQueues) SendInvite(
return nil
}
// SendEDU sends an EDU event to the destinations
// SendEDU sends an EDU event to the destinations.
func (oqs *OutgoingQueues) SendEDU(
e *gomatrixserverlib.EDU, origin gomatrixserverlib.ServerName,
destinations []gomatrixserverlib.ServerName,