Apply the auto-fixable lint rules and the formatter, and drop the Vite build artifacts.
Checks / checks (push) Successful in 2m11s
Trigger cinny-mobile / dispatch (push) Successful in 1s

This commit is contained in:
2026-11-01 04:23:53 +11:00
parent 3cd159a63e
commit a6ad8651b3
605 changed files with 11480 additions and 9125 deletions
@@ -1,11 +1,5 @@
import { useCallback, useEffect, useMemo, useState } from 'react';
import {
EventType,
MatrixEvent,
RelationType,
Room,
RoomEvent,
} from 'matrix-js-sdk';
import { EventType, MatrixEvent, RelationType, Room, RoomEvent } from 'matrix-js-sdk';
import { RelationsEvent } from 'matrix-js-sdk/lib/models/relations';
import { MessageEvent } from '../../../types/matrix/room';
import { useMatrixClient } from '../../hooks/useMatrixClient';
@@ -115,13 +109,13 @@ export function useForumMessageReactions(room: Room, mEvent: MatrixEvent | undef
mx.sendEvent(
room.roomId,
MessageEvent.Reaction as never,
getReactionContent(targetEventId, key, rShortcode)
getReactionContent(targetEventId, key, rShortcode),
).finally(() => {
bumpRelations();
window.setTimeout(bumpRelations, 250);
});
},
[bumpRelations, mx, room.roomId, roomTimelineSet]
[bumpRelations, mx, room.roomId, roomTimelineSet],
);
return {