aboutsummaryrefslogtreecommitdiff
path: root/userapi/util
diff options
context:
space:
mode:
authordevonh <devon.dmytro@gmail.com>2023-08-31 15:33:38 +0000
committerGitHub <noreply@github.com>2023-08-31 15:33:38 +0000
commitbb2ab62cbf02abb6f600e6eb39fde67aa2ff3215 (patch)
tree0c2f7caa34a589cdd8338bee92fd7376f7c71313 /userapi/util
parent11fd2f019bb6325155c2fa825b82c1fbef07b300 (diff)
Handle event_format federation in /sync responses (#3192)
Diffstat (limited to 'userapi/util')
-rw-r--r--userapi/util/notify_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/userapi/util/notify_test.go b/userapi/util/notify_test.go
index 3017069b..27e77cf7 100644
--- a/userapi/util/notify_test.go
+++ b/userapi/util/notify_test.go
@@ -106,7 +106,7 @@ func TestNotifyUserCountsAsync(t *testing.T) {
}
sk := ""
if err := db.InsertNotification(ctx, aliceLocalpart, serverName, dummyEvent.EventID(), 0, nil, &api.Notification{
- Event: synctypes.ToClientEvent(dummyEvent, synctypes.FormatAll, *sender, &sk),
+ Event: synctypes.ToClientEvent(dummyEvent, synctypes.FormatAll, sender.String(), &sk, dummyEvent.Unsigned()),
}); err != nil {
t.Error(err)
}