Do the same for leave

This commit is contained in:
Neil Alexander 2022-11-14 14:38:23 +00:00
parent 1c9410fc3a
commit ef960f6982
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -562,7 +562,7 @@ func (r *FederationInternalAPI) PerformLeave(
// Build the leave event. // Build the leave event.
event, err := respMakeLeave.LeaveEvent.Build( event, err := respMakeLeave.LeaveEvent.Build(
time.Now(), time.Now(),
r.cfg.Matrix.ServerName, origin,
r.cfg.Matrix.KeyID, r.cfg.Matrix.KeyID,
r.cfg.Matrix.PrivateKey, r.cfg.Matrix.PrivateKey,
respMakeLeave.RoomVersion, respMakeLeave.RoomVersion,