No description
Find a file
John Preston f671897a4d Fix a possible crash in Go to Message on macOS.
Fixes #26273.

This crash happens with a very deep stack trace that is caused by
destroying shared media layer on Go to Message click, which starts
destroying Media::ListWidget, which destroys Ui::PopupMenu, which is
a window, so when it destructs it triggers a sync repaint of the main
window (by a system event), which tries to render the new messages slice,
which starts a photo download, which calls an item repaint in Data::Session,
and the semi-destroyed Media::ListWidget is still subscribed to the
item repaint requests and tries to repaint and crashes there.

The fix is to destroy all session-related subscriptions before the PopupMenu.
2023-05-24 20:22:41 +04:00
.github Fix installer selection for winget-releaser 2023-05-21 20:10:22 +04:00
cmake@32e1044c51 Revert "Disable xcb_xlib" 2023-05-24 18:11:36 +04:00
docs Install Python and cmake to default paths 2022-12-20 17:22:19 +04:00
lib/xdg Try to restore updater-dependent binary path logic 2023-04-02 00:06:04 +04:00
snap Don't drop default LDFLAGS in snap 2023-05-18 18:15:40 +04:00
Telegram Fix a possible crash in Go to Message on macOS. 2023-05-24 20:22:41 +04:00
.gitattributes Update lottie icons in voice chats. 2021-04-12 10:48:16 +04:00
.gitignore added CLion-generated files to .gitignore 2021-04-14 08:50:32 +03:00
.gitmodules Revert "Implement sonnet-based language detection backend" 2022-11-25 12:20:12 +01:00
changelog.txt Version 4.8.2: Hardened Runtime in Mac App Store. 2023-05-18 11:54:56 +04:00
CMakeLists.txt Updated Qt to 5.15.9 on Windows. 2023-04-11 19:17:42 +04:00
LEGAL Update copyright year to 2023. 2023-01-02 10:10:14 +04:00
LICENSE Add single LEGAL file with license and copyright. 2018-01-03 13:04:34 +03:00
README.md Update README.md 2022-08-03 21:46:04 +04:00

Telegram Desktop Official Messenger

This is the complete source code and the build instructions for the official Telegram messenger desktop client, based on the Telegram API and the MTProto secure protocol.

Version Build Status Build Status Build Status

Preview of Telegram Desktop

The source code is published under GPLv3 with OpenSSL exception, the license is available here.

Supported systems

The latest version is available for

Old system versions

Version 2.4.4 was the last that supports older systems

Version 1.8.15 was the last that supports older systems

Third-party

Build instructions