diff options
author | kegsay <kegan@matrix.org> | 2023-04-28 16:00:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-28 16:00:22 +0100 |
commit | 1432743d1ad669718e8f70f4dc1f29a9762e3fc4 (patch) | |
tree | 942f6efed770f93393c8faffb3d60557c4e3710f /userapi/util/notify_test.go | |
parent | d23d0369cc20957cd1e65594dc1745d98dee77c5 (diff) |
Use PDU in more places (#3072)
Diffstat (limited to 'userapi/util/notify_test.go')
-rw-r--r-- | userapi/util/notify_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/userapi/util/notify_test.go b/userapi/util/notify_test.go index d6cbad7d..e1c88d47 100644 --- a/userapi/util/notify_test.go +++ b/userapi/util/notify_test.go @@ -100,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: synctypes.HeaderedToClientEvent(dummyEvent, synctypes.FormatAll), + Event: synctypes.ToClientEvent(dummyEvent, synctypes.FormatAll), }); err != nil { t.Error(err) } |