Build using origin server name during join
This commit is contained in:
parent
be19b09514
commit
1c9410fc3a
|
@ -199,7 +199,7 @@ func (r *FederationInternalAPI) performJoinUsingServer(
|
||||||
// Build the join event.
|
// Build the join event.
|
||||||
event, err := respMakeJoin.JoinEvent.Build(
|
event, err := respMakeJoin.JoinEvent.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,
|
||||||
respMakeJoin.RoomVersion,
|
respMakeJoin.RoomVersion,
|
||||||
|
|
Loading…
Reference in a new issue