1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-08-07 23:02:56 +03:00

Revert "Age fallback using origin_server_ts instead of 0 (#3839)" (#3853)

This reverts commit 685ef791c8.
This commit is contained in:
Richard van der Hoff
2023-11-03 13:32:42 +00:00
committed by GitHub
parent 685ef791c8
commit 5bc132a24c
4 changed files with 5 additions and 22 deletions

View File

@@ -61,7 +61,7 @@ export function mockRTCEvent(
getSender: jest.fn().mockReturnValue("@mock:user.example"),
getTs: jest.fn().mockReturnValue(1000),
getLocalAge: getLocalAgeFn,
localTimestamp: Date.now() - getLocalAgeFn(),
localTimestamp: Date.now(),
getRoomId: jest.fn().mockReturnValue(roomId),
sender: {
userId: "@mock:user.example",