KevinHuge 59b089a0cc Fix stale macOS tray icon colors after appearance switches
Summary:
Fix the macOS tray icon refresh path so the menu bar icon updates immediately after system light/dark appearance changes, even while Telegram stays unfocused in the background.

Changes:
The tray icon code was observing status button appearance changes but rendering against NSApp effectiveAppearance on macOS 10.14 and newer. Those two appearance sources do not update in lockstep while Telegram is unfocused, which caused the tray icon to redraw with a stale color until the app was focused. This change makes the renderer use status.button.effectiveAppearance directly so the icon color is derived from the same Cocoa object that emits the refresh signal.
2026-04-06 16:57:03 +07:00
2026-04-03 17:34:53 +07:00
2026-03-09 21:23:26 +04:00
2026-03-04 16:34:51 +03:00
2026-04-04 09:13:10 +07:00
2026-02-27 23:34:33 +04:00
2026-01-05 12:21:48 +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 4.9.9 was the last that supports older systems

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

S
Description
Desktop Telegram client with good customization and Ghost mode.
Readme GPL-3.0
325 MiB
Languages
C++ 71.6%
C 26.6%
Objective-C++ 0.6%
CMake 0.4%
Python 0.3%
Other 0.1%