Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewFerr committed Jul 17, 2024
1 parent 7ca9bac commit e7302b0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/embedded.ts
Original file line number Diff line number Diff line change
Expand Up @@ -328,9 +328,11 @@ export class RoomWidgetClient extends MatrixClient {
isTimeoutFuture ? futureOpts.future_timeout : undefined,
"future_group_id" in futureOpts ? futureOpts.future_group_id : undefined,
);
return <SendFutureResponse<F>>(isTimeoutFuture
? this.validateSendTimeoutFutureResponse(response)
: this.validateSendActionFutureResponse(response));
return <SendFutureResponse<F>>(
(isTimeoutFuture
? this.validateSendTimeoutFutureResponse(response)
: this.validateSendActionFutureResponse(response))
);
}

private validateSendEventResponse(response: ISendEventFromWidgetResponseData): ISendEventResponse {
Expand Down

0 comments on commit e7302b0

Please sign in to comment.