Fix is_formatted check.

This commit is contained in:
poljar (Damir Jelić) 2018-02-26 11:40:15 +01:00
parent 2d364c1a8e
commit 2fc2828dd0

View file

@ -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)