Skip to content

Commit

Permalink
Update client.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy authored May 19, 2023
1 parent 5973c66 commit b62fac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4688,7 +4688,7 @@ export class MatrixClient extends TypedEventEmitter<EmittedEvents, ClientEventHa
const eventType: string = EventType.RoomMessage;
const sendContent: IContent = content as IContent;

return this.sendEvent(roomId, threadId, eventType, sendContent, txnId);
return this.sendEvent(roomId, threadId as string | null, eventType, sendContent, txnId);
}

/**
Expand Down

0 comments on commit b62fac9

Please sign in to comment.