aboutsummaryrefslogtreecommitdiff
path: root/roomserver/internal/api.go
diff options
context:
space:
mode:
authordevonh <devon.dmytro@gmail.com>2023-04-14 15:03:07 +0000
committerGitHub <noreply@github.com>2023-04-14 15:03:07 +0000
commitf66862958d1fca18cedf65999bb86273e81ad28f (patch)
tree1bd87856e7787c867b119cc77f32d57b8ffacbca /roomserver/internal/api.go
parent914e6145a5735b3037e18a70fe9d95bc72580389 (diff)
Remove event building duplication & push to GMSL (#3056)
Removes event building duplication and moves the funcionality into GMSL since all the sub-steps are already there.
Diffstat (limited to 'roomserver/internal/api.go')
-rw-r--r--roomserver/internal/api.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/roomserver/internal/api.go b/roomserver/internal/api.go
index 7ca3675d..47e1bf2f 100644
--- a/roomserver/internal/api.go
+++ b/roomserver/internal/api.go
@@ -160,6 +160,7 @@ func (r *RoomserverInternalAPI) SetFederationAPI(fsAPI fsAPI.RoomserverFederatio
Cfg: &r.Cfg.RoomServer,
DB: r.DB,
FSAPI: r.fsAPI,
+ RSAPI: r,
Inputer: r.Inputer,
}
r.Publisher = &perform.Publisher{