mautrix-telegram: fix crash

The previous backport of `mautrix-telegram`[1] appears to be a mistake
of mine (sorry for that!), unfortunately v0.9 isn't forward-compatible
due to a database migration, so this change can't be reversed.

The primary issue was that `telethon` was too old, so I decided to
upgrade it to 1.21 which is what I had on my 21.05-based tracking
branch while using `mautrix-telegram` anyways, so that's proven to work.

Closes #135583

[1] e1042038ac / cd84b8ad8b
This commit is contained in:
Maximilian Bosch 2021-08-24 21:28:15 +02:00
parent b86db7692f
commit 4aa2488fd1
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E
1 changed files with 7 additions and 0 deletions

View File

@ -12,6 +12,13 @@ let
sha256 = "ffbc4e29eb56089539b408f8e4c12a5d5a5d11d7fe7d40f8c6279784c618b869";
};
});
telethon = super.telethon.overridePythonAttrs (oldAttrs: rec {
version = "1.21.1";
src = oldAttrs.src.override {
inherit version;
sha256 = "sha256-mTyDfvdFrd+XKifXv7oM5Riihj0aUOBzclW3ZNI+DvI=";
};
});
};
};