Skip to content

Commit

Permalink
Topic key may only contain legacy key.
Browse files Browse the repository at this point in the history
  • Loading branch information
Half-Shot committed Jan 31, 2025
1 parent 278a512 commit 0e5e256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/@types/topic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ export type MTopicEvent = EitherAnd<{ [M_TOPIC.name]: MTopicContent }, { [M_TOPI
/**
* The event content for an m.room.topic event
*/
export type MRoomTopicEventContent = { topic: string | null | undefined } & MTopicEvent;
export type MRoomTopicEventContent = { topic: string | null | undefined } & (MTopicEvent | {});

This comment has been minimized.

Copy link
@t3chguy

0 comments on commit 0e5e256

Please sign in to comment.