fixup tests with fake timers

This commit is contained in:
Half-Shot
2024-12-17 15:02:47 +00:00
parent 770cd9ddf7
commit 7a896f69fd
2 changed files with 14 additions and 6 deletions
+3
View File
@@ -208,6 +208,9 @@ export default function useReactionsReader(rtcSession: MatrixRTCSession): {
const currentReactions = reactionsSubject$.current.value;
if (currentReactions[identifier]) {
// We've still got a reaction from this user, ignore it to prevent spamming
logger.warn(
`Got reaction from ${identifier} but one is still playing`,
);
return;
}
reactionsSubject$.current.next({