Update some small things

This commit is contained in:
Tulir Asokan
2022-01-09 00:06:35 +02:00
parent 63fafec1b7
commit e321bc30d0
5 changed files with 11 additions and 4 deletions

View File

@@ -8,6 +8,9 @@ charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false
[*.py]
max_line_length = 99

View File

@@ -5,9 +5,14 @@
* Improved support for voice messages.
* Improved color of blue text from Telegram to be more readable on dark themes.
* 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).
* 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)

View File

@@ -59,7 +59,7 @@
* [x] Option to use own Matrix account for messages sent from other Telegram clients (double puppeting)
* [ ] ‡ Calls (hard, not yet supported by Telethon)
* [ ] ‡ 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
‡ Maybe, i.e. this feature may or may not be implemented at some point

View File

@@ -42,8 +42,8 @@ class MatrixParser(BaseMatrixParser[TelegramMessage]):
async def custom_node_to_fstring(
self, node: HTMLNode, ctx: RecursionContext
) -> TelegramMessage | None:
msg = await self.tag_aware_parse_node(node, ctx)
if node.tag == "command":
msg = await self.tag_aware_parse_node(node, ctx)
return msg.prepend("/").format(TelegramEntityType.COMMAND)
return None

View File

@@ -1,5 +1,4 @@
import setuptools
import glob
from mautrix_telegram.get_version import git_tag, git_revision, version, linkified_version