Conform more of the codebase to strictNullChecks
(#10358
* Conform more of the codebase to `strictNullChecks` * Fix types * Iterate * Iterate
This commit is contained in:
parent
41d88ad6ae
commit
503df62191
76 changed files with 323 additions and 327 deletions
|
@ -163,7 +163,12 @@ export default class PollCreateDialog extends ScrollableBaseModal<IProps, IState
|
|||
doMaybeLocalRoomAction(
|
||||
this.props.room.roomId,
|
||||
(actualRoomId: string) =>
|
||||
this.matrixClient.sendEvent(actualRoomId, this.props.threadId, pollEvent.type, pollEvent.content),
|
||||
this.matrixClient.sendEvent(
|
||||
actualRoomId,
|
||||
this.props.threadId ?? null,
|
||||
pollEvent.type,
|
||||
pollEvent.content,
|
||||
),
|
||||
this.matrixClient,
|
||||
)
|
||||
.then(() => this.props.onFinished(true))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue