aboutsummaryrefslogtreecommitdiff
path: root/clientapi/producers/syncapi.go
diff options
context:
space:
mode:
Diffstat (limited to 'clientapi/producers/syncapi.go')
-rw-r--r--clientapi/producers/syncapi.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/clientapi/producers/syncapi.go b/clientapi/producers/syncapi.go
index 375b1eee..6ab8eef2 100644
--- a/clientapi/producers/syncapi.go
+++ b/clientapi/producers/syncapi.go
@@ -18,7 +18,7 @@ import (
"encoding/json"
"github.com/Shopify/sarama"
- "github.com/matrix-org/dendrite/internal"
+ "github.com/matrix-org/dendrite/internal/eventutil"
log "github.com/sirupsen/logrus"
)
@@ -32,7 +32,7 @@ type SyncAPIProducer struct {
func (p *SyncAPIProducer) SendData(userID string, roomID string, dataType string) error {
var m sarama.ProducerMessage
- data := internal.AccountData{
+ data := eventutil.AccountData{
RoomID: roomID,
Type: dataType,
}