1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-26 17:03:12 +03:00

Update client.ts

This commit is contained in:
Michael Telatynski
2023-05-19 16:39:02 +01:00
committed by GitHub
parent 5973c66726
commit b62fac9dad

View File

@@ -4688,7 +4688,7 @@ export class MatrixClient extends TypedEventEmitter<EmittedEvents, ClientEventHa
const eventType: string = EventType.RoomMessage; const eventType: string = EventType.RoomMessage;
const sendContent: IContent = content as IContent; 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);
} }
/** /**