Skip to content

Commit

Permalink
Note that this isn't necessary once matrix-org/synapse#13658 lands
Browse files Browse the repository at this point in the history
  • Loading branch information
MadLittleMods committed Aug 29, 2022
1 parent d4270a8 commit 12b62ff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/client-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,9 @@ async function createMessagesInRoom({ client, roomId, numMessages, prefix, times
},
// We can't use the exact same timestamp for every message in the tests
// otherwise it's a toss up which event will be returned as the closest
// for `/timestamp_to_event`.
// for `/timestamp_to_event`. As a note, we don't have to do this after
// https://github.com/matrix-org/synapse/pull/13658 merges but it still
// seems like a good idea to make the tests more clear.
timestamp: timestamp + i,
});
eventIds.push(eventId);
Expand Down

0 comments on commit 12b62ff

Please sign in to comment.