From 85a4982ad95f32214cdef785990f197f70870bda Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Fri, 9 Mar 2018 17:49:26 +0200 Subject: [PATCH] Update roadmap and remove unnecessary newline --- ROADMAP.md | 19 +------------------ mautrix_telegram/portal.py | 2 +- 2 files changed, 2 insertions(+), 19 deletions(-) diff --git a/ROADMAP.md b/ROADMAP.md index e0584dd7..e6a0a5d7 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -45,7 +45,7 @@ * [x] Video messages * [x] Documents * [x] Message deletions - * [ ] Message edits (not yet supported in Matrix) + * [x] Message edits * [x] Avatars * [x] Presence * [x] Typing notifications @@ -74,23 +74,6 @@ * [x] Private chat creation by inviting Matrix puppet of Telegram user to new room * [x] Option to use bot to relay messages for unauthenticated Matrix users * [ ] Option to use own Matrix account for messages sent from other Telegram clients -* [Commands](https://github.com/tulir/mautrix-telegram/wiki/Management-commands) - * [x] Logging in and out (`login` + code entering) - * [x] Logging out - * [ ] Registering (`register`) - * [x] Searching for users (`search`) - * [x] Starting private chats (`pm`) - * [x] Joining chats with invite links (`join`) - * [x] Creating a Telegram chat for an existing Matrix room (`create`) - * [x] Upgrading the chat of a portal room into a supergroup (`upgrade`) - * [x] Change username of supergroup/channel (`group-name`) - * [x] Getting the Telegram invite link to a Matrix room (`invite-link`) - * [ ] Bridging existing Matrix rooms to existing Telegram chats (`bridge`) - * [ ] Unbridging Matrix rooms from Telegram chats (`unbridge`) - * Bridge administration - * [x] Clean up and forget a portal room (`delete-portal`) - * [x] Find and clean up old portal rooms (`clean-rooms`) - * [ ] Setting Matrix-only power levels (`powerlevel`) † Information not automatically sent from source, i.e. implementation may not be possible ‡ Maybe, i.e. this feature may or may not be implemented at some point diff --git a/mautrix_telegram/portal.py b/mautrix_telegram/portal.py index a60da924..0c5ed860 100644 --- a/mautrix_telegram/portal.py +++ b/mautrix_telegram/portal.py @@ -838,7 +838,7 @@ class Portal: if config["bridge.inline_images"] and (evt.message or evt.fwd_from or evt.reply_to_msg_id): text, html, relates_to = await formatter.telegram_to_matrix( evt, source, self.main_intent, - prefix_html=f"Inline Telegram photo
\n", + prefix_html=f"Inline Telegram photo
", prefix_text="Inline image: ") await intent.set_typing(self.mxid, is_typing=False) return await intent.send_text(self.mxid, text, html=html, relates_to=relates_to)