Update some small things
This commit is contained in:
@@ -8,6 +8,9 @@ charset = utf-8
|
|||||||
trim_trailing_whitespace = true
|
trim_trailing_whitespace = true
|
||||||
insert_final_newline = true
|
insert_final_newline = true
|
||||||
|
|
||||||
|
[*.md]
|
||||||
|
trim_trailing_whitespace = false
|
||||||
|
|
||||||
[*.py]
|
[*.py]
|
||||||
max_line_length = 99
|
max_line_length = 99
|
||||||
|
|
||||||
|
|||||||
+6
-1
@@ -5,9 +5,14 @@
|
|||||||
* Improved support for voice messages.
|
* Improved support for voice messages.
|
||||||
* Improved color of blue text from Telegram to be more readable on dark themes.
|
* Improved color of blue text from Telegram to be more readable on dark themes.
|
||||||
* Fixed syncing contacts throwing an error for new accounts.
|
* Fixed syncing contacts throwing an error for new accounts.
|
||||||
* Fixed migrating from the legacy database if the database schema had been
|
* Fixed migrating pre-v0.11 legacy databases if the database schema had been
|
||||||
corrupted (e.g. by using 3rd party tools for SQLite -> Postgres migration).
|
corrupted (e.g. by using 3rd party tools for SQLite -> Postgres migration).
|
||||||
* Fixed converting animated stickers to webm with >33 FPS.
|
* Fixed converting animated stickers to webm with >33 FPS.
|
||||||
|
* Fixed a bug in v0.11.0 that broke mentioning users in groups
|
||||||
|
(thanks to [@dfuchss] in [#724]).
|
||||||
|
|
||||||
|
[@dfuchss]: https://github.com/dfuchss
|
||||||
|
[#724]: https://github.com/mautrix/telegram/pull/724
|
||||||
|
|
||||||
# v0.11.0 (2021-12-28)
|
# v0.11.0 (2021-12-28)
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -59,7 +59,7 @@
|
|||||||
* [x] Option to use own Matrix account for messages sent from other Telegram clients (double puppeting)
|
* [x] Option to use own Matrix account for messages sent from other Telegram clients (double puppeting)
|
||||||
* [ ] ‡ Calls (hard, not yet supported by Telethon)
|
* [ ] ‡ Calls (hard, not yet supported by Telethon)
|
||||||
* [ ] ‡ Secret chats (i.e. End-to-bridge encryption on Telegram)
|
* [ ] ‡ Secret chats (i.e. End-to-bridge encryption on Telegram)
|
||||||
* [x] End-to-bridge encryption in Matrix rooms (see [wiki](https://github.com/tulir/mautrix-telegram/wiki/End%E2%80%90to%E2%80%90bridge-encryption))
|
* [x] End-to-bridge encryption in Matrix rooms (see [docs](https://docs.mau.fi/bridges/general/end-to-bridge-encryption.html))
|
||||||
|
|
||||||
† Information not automatically sent from source, i.e. implementation may not be possible
|
† 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
|
‡ Maybe, i.e. this feature may or may not be implemented at some point
|
||||||
|
|||||||
@@ -42,8 +42,8 @@ class MatrixParser(BaseMatrixParser[TelegramMessage]):
|
|||||||
async def custom_node_to_fstring(
|
async def custom_node_to_fstring(
|
||||||
self, node: HTMLNode, ctx: RecursionContext
|
self, node: HTMLNode, ctx: RecursionContext
|
||||||
) -> TelegramMessage | None:
|
) -> TelegramMessage | None:
|
||||||
msg = await self.tag_aware_parse_node(node, ctx)
|
|
||||||
if node.tag == "command":
|
if node.tag == "command":
|
||||||
|
msg = await self.tag_aware_parse_node(node, ctx)
|
||||||
return msg.prepend("/").format(TelegramEntityType.COMMAND)
|
return msg.prepend("/").format(TelegramEntityType.COMMAND)
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user