aboutsummaryrefslogtreecommitdiff
path: root/roomserver/internal/alias.go
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2022-07-01 10:54:07 +0100
committerGitHub <noreply@github.com>2022-07-01 10:54:07 +0100
commitb50a24c666c4c45e1410dfc35d5ab2dc7e530a0f (patch)
tree04a71d4eaca38a78eda091ed5449bf2f492f73c1 /roomserver/internal/alias.go
parent89cd0e8fc13b040470aebe2eb4d36a9235b1473d (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.go3
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
}
-
}
}