aboutsummaryrefslogtreecommitdiff
path: root/userapi/consumers/syncapi_streamevent.go
diff options
context:
space:
mode:
Diffstat (limited to 'userapi/consumers/syncapi_streamevent.go')
-rw-r--r--userapi/consumers/syncapi_streamevent.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/userapi/consumers/syncapi_streamevent.go b/userapi/consumers/syncapi_streamevent.go
index 9ef7b508..7807c763 100644
--- a/userapi/consumers/syncapi_streamevent.go
+++ b/userapi/consumers/syncapi_streamevent.go
@@ -29,7 +29,7 @@ type OutputStreamEventConsumer struct {
ctx context.Context
cfg *config.UserAPI
userAPI api.UserInternalAPI
- rsAPI rsapi.RoomserverInternalAPI
+ rsAPI rsapi.UserRoomserverAPI
jetstream nats.JetStreamContext
durable string
db storage.Database
@@ -45,7 +45,7 @@ func NewOutputStreamEventConsumer(
store storage.Database,
pgClient pushgateway.Client,
userAPI api.UserInternalAPI,
- rsAPI rsapi.RoomserverInternalAPI,
+ rsAPI rsapi.UserRoomserverAPI,
syncProducer *producers.SyncAPI,
) *OutputStreamEventConsumer {
return &OutputStreamEventConsumer{
@@ -455,7 +455,7 @@ func (s *OutputStreamEventConsumer) evaluatePushRules(ctx context.Context, event
type ruleSetEvalContext struct {
ctx context.Context
- rsAPI rsapi.RoomserverInternalAPI
+ rsAPI rsapi.UserRoomserverAPI
mem *localMembership
roomID string
roomSize int