aboutsummaryrefslogtreecommitdiff
path: root/syncapi
diff options
context:
space:
mode:
authorTill Faelligen <2353100+S7evinK@users.noreply.github.com>2023-03-22 14:12:06 +0100
committerTill Faelligen <2353100+S7evinK@users.noreply.github.com>2023-03-22 14:50:21 +0100
commit6948d1652742ae83cf7729f1cfaa0d1ea796b703 (patch)
tree018638a36cff184d792a429e503488da3a983b2a /syncapi
parent5e85a00cb36c3d343cd5b6f6a18435989724a135 (diff)
Update Go, use go tool covdata for coverage files?
Diffstat (limited to 'syncapi')
-rw-r--r--syncapi/syncapi.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/syncapi/syncapi.go b/syncapi/syncapi.go
index 9a27b954..ecbe05dd 100644
--- a/syncapi/syncapi.go
+++ b/syncapi/syncapi.go
@@ -69,11 +69,10 @@ func AddPublicRoutes(
var fts *fulltext.Search
if dendriteCfg.SyncAPI.Fulltext.Enabled {
- fts, err = fulltext.New(processContext.Context(), dendriteCfg.SyncAPI.Fulltext)
+ fts, err = fulltext.New(processContext, dendriteCfg.SyncAPI.Fulltext)
if err != nil {
logrus.WithError(err).Panicf("failed to create full text")
}
- processContext.ComponentStarted()
}
federationPresenceProducer := &producers.FederationAPIPresenceProducer{