mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-12 01:13:10 -06:00
Merge branch 'master' into babolivier/federation-3pid-invite
This commit is contained in:
commit
f06a162268
|
|
@ -73,7 +73,7 @@ func Invite(
|
||||||
// Check that the event is signed by the server sending the request.
|
// Check that the event is signed by the server sending the request.
|
||||||
verifyRequests := []gomatrixserverlib.VerifyJSONRequest{{
|
verifyRequests := []gomatrixserverlib.VerifyJSONRequest{{
|
||||||
ServerName: event.Origin(),
|
ServerName: event.Origin(),
|
||||||
Message: event.JSON(),
|
Message: event.Redact().JSON(),
|
||||||
AtTS: event.OriginServerTS(),
|
AtTS: event.OriginServerTS(),
|
||||||
}}
|
}}
|
||||||
verifyResults, err := keys.VerifyJSONs(verifyRequests)
|
verifyResults, err := keys.VerifyJSONs(verifyRequests)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue