aboutsummaryrefslogtreecommitdiff
path: root/syncapi/consumers/eduserver.go
diff options
context:
space:
mode:
Diffstat (limited to 'syncapi/consumers/eduserver.go')
-rw-r--r--syncapi/consumers/eduserver.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/syncapi/consumers/eduserver.go b/syncapi/consumers/eduserver.go
index ece999d5..12b1efbc 100644
--- a/syncapi/consumers/eduserver.go
+++ b/syncapi/consumers/eduserver.go
@@ -18,9 +18,9 @@ import (
"encoding/json"
"github.com/Shopify/sarama"
- "github.com/matrix-org/dendrite/common"
- "github.com/matrix-org/dendrite/common/config"
"github.com/matrix-org/dendrite/eduserver/api"
+ "github.com/matrix-org/dendrite/internal"
+ "github.com/matrix-org/dendrite/internal/config"
"github.com/matrix-org/dendrite/syncapi/storage"
"github.com/matrix-org/dendrite/syncapi/sync"
"github.com/matrix-org/dendrite/syncapi/types"
@@ -29,7 +29,7 @@ import (
// OutputTypingEventConsumer consumes events that originated in the EDU server.
type OutputTypingEventConsumer struct {
- typingConsumer *common.ContinualConsumer
+ typingConsumer *internal.ContinualConsumer
db storage.Database
notifier *sync.Notifier
}
@@ -43,7 +43,7 @@ func NewOutputTypingEventConsumer(
store storage.Database,
) *OutputTypingEventConsumer {
- consumer := common.ContinualConsumer{
+ consumer := internal.ContinualConsumer{
Topic: string(cfg.Kafka.Topics.OutputTypingEvent),
Consumer: kafkaConsumer,
PartitionStore: store,