diff options
author | kegsay <kegan@matrix.org> | 2023-04-04 18:16:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-04 17:16:53 +0000 |
commit | 3691423626c94418388c48c1a91ac69dcd8b196b (patch) | |
tree | ab93bff2fe0ad7ba8c0417c55832abc57e14b167 /userapi/util | |
parent | 985298cfc46cb6b33ab44d32a63a933d03e16429 (diff) |
Move GMSL client types to Dendrite (#3045)
GMSL is intended for Federation only. Sister PR to
https://github.com/matrix-org/gomatrixserverlib/pull/357
Diffstat (limited to 'userapi/util')
-rw-r--r-- | userapi/util/notify_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/userapi/util/notify_test.go b/userapi/util/notify_test.go index 69461ddd..d6cbad7d 100644 --- a/userapi/util/notify_test.go +++ b/userapi/util/notify_test.go @@ -9,6 +9,7 @@ import ( "time" "github.com/matrix-org/dendrite/internal/sqlutil" + "github.com/matrix-org/dendrite/syncapi/synctypes" "github.com/matrix-org/gomatrixserverlib" "github.com/matrix-org/util" "golang.org/x/crypto/bcrypt" @@ -99,7 +100,7 @@ func TestNotifyUserCountsAsync(t *testing.T) { // Insert a dummy event if err := db.InsertNotification(ctx, aliceLocalpart, serverName, dummyEvent.EventID(), 0, nil, &api.Notification{ - Event: gomatrixserverlib.HeaderedToClientEvent(dummyEvent, gomatrixserverlib.FormatAll), + Event: synctypes.HeaderedToClientEvent(dummyEvent, synctypes.FormatAll), }); err != nil { t.Error(err) } |