Fix is_formatted check.
This commit is contained in:
parent
2d364c1a8e
commit
2fc2828dd0
1 changed files with 1 additions and 1 deletions
|
@ -294,7 +294,7 @@ class MatrixSendMessage(MatrixMessage):
|
|||
"content": self.formatted_message.to_plain()
|
||||
}
|
||||
|
||||
if self.formatted_message.is_formatted:
|
||||
if self.formatted_message.is_formatted():
|
||||
data["formatted_content"] = self.formatted_message.to_html()
|
||||
|
||||
MatrixMessage.__init__(self, client.room_send_message, data)
|
||||
|
|
Loading…
Reference in a new issue