2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

webPage links preview previews done

This commit is contained in:
John Preston
2015-04-07 01:15:29 +03:00
parent 11dd70cb1a
commit 9ede565a00
25 changed files with 1093 additions and 630 deletions

View File

@@ -218,18 +218,20 @@ static const char *ApiHash = "344583e45741c457fe1862106095a5eb";
inline const char *cApiDeviceModel() {
#ifdef Q_OS_WIN
return "x86 desktop";
#else
return "x64 desktop";
return "PC";
#elif defined Q_OS_MAC
return "Mac";
#elif defined Q_OS_LINUX
return "PC";
#endif
}
inline const char *cApiSystemVersion() {
#ifdef Q_OS_WIN
return "windows";
return "Windows";
#elif defined Q_OS_MAC
return "os x";
return "OS X";
#elif defined Q_OS_LINUX
return "linux";
return "Linux";
#endif
}
inline QString cApiAppVersion() {