Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ee/packages/federation-matrix/src/events/reaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ export function reaction(emitter: Emitter<HomeserverEventSignatures>) {
}

const reactionEvent = await FederationMatrix.getEventById(redactedEventId);
if (!reactionEvent || reactionEvent.type !== 'm.reaction') {
if (!reactionEvent || reactionEvent.event.type !== 'm.reaction') {
logger.debug(`Event ${redactedEventId} is not a reaction event`);
return;
}

const reactionContent = reactionEvent.content?.['m.relates_to'];
const reactionContent = reactionEvent.event.content?.['m.relates_to'];
if (!reactionContent) {
logger.debug('No relates_to content in reaction event');
return;
Expand Down
Loading