Merge remote-tracking branch 'origin/livekit' into hs/emoji-reactions

This commit is contained in:
Will Hunt
2024-11-04 11:14:36 +00:00
28 changed files with 515 additions and 114 deletions

View File

@@ -28,6 +28,7 @@ import { useMatrixRTCSessionMemberships } from "./useMatrixRTCSessionMemberships
import { useClientState } from "./ClientContext";
import {
ECallReactionEventContent,
ElementCallReactionEventType,
GenericReaction,
ReactionOption,
ReactionSet,
@@ -195,7 +196,7 @@ export const ReactionsProvider = ({
return;
}
if (event.getType() === "io.element.call.reaction") {
if (event.getType() === ElementCallReactionEventType) {
// TODO: Validate content.
const content: ECallReactionEventContent = event.getContent();