diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2022-07-01 10:54:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-01 10:54:07 +0100 |
commit | b50a24c666c4c45e1410dfc35d5ab2dc7e530a0f (patch) | |
tree | 04a71d4eaca38a78eda091ed5449bf2f492f73c1 /roomserver/internal/alias.go | |
parent | 89cd0e8fc13b040470aebe2eb4d36a9235b1473d (diff) |
Roomserver producers package (#2546)
* Give the roomserver a producers package
* Change init point
* Populate ACLs API
* Fix build issues
* `RoomEventProducer` naming
Diffstat (limited to 'roomserver/internal/alias.go')
-rw-r--r-- | roomserver/internal/alias.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/roomserver/internal/alias.go b/roomserver/internal/alias.go index f47ae47f..175bb931 100644 --- a/roomserver/internal/alias.go +++ b/roomserver/internal/alias.go @@ -216,11 +216,10 @@ func (r *RoomserverInternalAPI) RemoveRoomAlias( return err } - err = api.SendEvents(ctx, r.RSAPI, api.KindNew, []*gomatrixserverlib.HeaderedEvent{newEvent}, r.ServerName, r.ServerName, nil, false) + err = api.SendEvents(ctx, r, api.KindNew, []*gomatrixserverlib.HeaderedEvent{newEvent}, r.ServerName, r.ServerName, nil, false) if err != nil { return err } - } } |