From ee8531143f6e537143d0854b25e1ab2ea58f1db9 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Thu, 8 Mar 2018 11:42:53 +0200 Subject: [PATCH] Fix small typo --- mautrix_telegram/formatter/from_matrix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mautrix_telegram/formatter/from_matrix.py b/mautrix_telegram/formatter/from_matrix.py index d005c05e..b5b3576f 100644 --- a/mautrix_telegram/formatter/from_matrix.py +++ b/mautrix_telegram/formatter/from_matrix.py @@ -244,7 +244,7 @@ def matrix_reply_to_telegram(content, tg_space, room_id=None): event_id = reply["event_id"] try: - if content["format"] == "org.custom.matrix.html": + if content["format"] == "org.matrix.custom.html": content["formatted_body"] = trim_reply_fallback_html(content["formatted_body"]) except KeyError: pass