mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-08-02 14:12:47 +00:00
Use event origin failing all else
This commit is contained in:
parent
2203dd9d8a
commit
2a46752d0b
3 changed files with 8 additions and 11 deletions
|
@ -139,6 +139,7 @@ func (r *Leaver) performLeaveRoomByID(
|
|||
{
|
||||
Kind: api.KindNew,
|
||||
Event: event.Headered(buildRes.RoomVersion),
|
||||
Origin: event.Origin(),
|
||||
AuthEventIDs: event.AuthEventIDs(),
|
||||
SendAsServer: string(r.Cfg.Matrix.ServerName),
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue