mirror of
https://github.com/vector-im/element-call.git
synced 2026-04-25 09:35:33 +00:00
fix a couple of bugs
This commit is contained in:
@@ -245,7 +245,7 @@ export default function useReactionsReader(rtcSession: MatrixRTCSession): {
|
||||
}
|
||||
} else if (event.getType() === EventType.RoomRedaction) {
|
||||
const targetEvent = event.event.redacts;
|
||||
const targetUser = Object.entries(latestRaisedHands.current).find(
|
||||
const targetUser = Object.entries(latestRaisedHands.current.value).find(
|
||||
([_u, r]) => r.reactionEventId === targetEvent,
|
||||
)?.[0];
|
||||
if (!targetUser) {
|
||||
|
||||
Reference in New Issue
Block a user