mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-12 01:13:10 -06:00
Use SendEvents to send the invite to the roomserver
This commit is contained in:
parent
e468fb687a
commit
ddc4b28781
|
|
@ -126,7 +126,7 @@ func ExchangeThirdPartyInvite(
|
|||
}
|
||||
|
||||
// Send the event to the roomserver
|
||||
if err = producer.SendInvite(signedEvent.Event); err != nil {
|
||||
if err = producer.SendEvents([]gomatrixserverlib.Event{signedEvent.Event}, cfg.Matrix.ServerName); err != nil {
|
||||
return httputil.LogThenError(httpReq, err)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue