diff --git a/src/python/matrix_client.py b/src/python/matrix_client.py index ac8e312f..e6a14d5d 100644 --- a/src/python/matrix_client.py +++ b/src/python/matrix_client.py @@ -173,7 +173,7 @@ class MatrixClient(nio.AsyncClient): return {**self.invited_rooms, **self.rooms} - async def send_markdown(self, room_id: str, text: str) -> None: + async def send_text(self, room_id: str, text: str) -> None: escape = False if text.startswith("//") or text.startswith(r"\/"): escape = True diff --git a/src/qml/Chat/Composer.qml b/src/qml/Chat/Composer.qml index 902836d8..a762a5dc 100644 --- a/src/qml/Chat/Composer.qml +++ b/src/qml/Chat/Composer.qml @@ -169,7 +169,7 @@ Rectangle { if (textArea.text === "") { return } let args = [chatPage.roomId, toSend] - py.callClientCoro(writingUserId, "send_markdown", args) + py.callClientCoro(writingUserId, "send_text", args) area.clear() })