remove unused import fix if condition  trying (pass the dispatcher to sendHtmlMessage)
remove unused import
fix if condition
 trying (pass the dispatcher to sendHtmlMessage)

matrix-org/matrix-react-sdk,matrix-org/matrix-react-sdk,matrix-org/matrix-react-sdk,matrix-org/matrix-react-sdk,matrix-org/matrix-react-sdk,matrix-org/matrix-react-sdk