2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-01 15:05:56 +00:00

Hook main queue processing to update requests.

This commit is contained in:
John Preston
2019-07-04 15:33:11 +02:00
parent b1807938ad
commit 0e964b06dc
8 changed files with 100 additions and 48 deletions

View File

@@ -7,6 +7,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#pragma once
#include "platform/platform_specific.h"
#include <execinfo.h>
#include <signal.h>
@@ -39,6 +41,10 @@ inline std::optional<crl::time> LastUserInputTime() {
return std::nullopt;
}
inline constexpr bool UseMainQueueGeneric() {
return true;
}
} // namespace Platform
inline QString psServerPrefix() {