mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Move global event filter to Platform::Integration on Windows.
This commit is contained in:
@@ -32,6 +32,9 @@ public:
|
||||
|
||||
void showAccount(not_null<Main::Account*> account);
|
||||
[[nodiscard]] PeerData *singlePeer() const;
|
||||
[[nodiscard]] bool isPrimary() const {
|
||||
return (singlePeer() == nullptr);
|
||||
}
|
||||
|
||||
[[nodiscard]] not_null<::MainWindow*> widget() {
|
||||
return &_widget;
|
||||
|
Reference in New Issue
Block a user