Add support for autoupdate through MTProto.

This commit is contained in:
John Preston
2018-05-29 21:12:23 +03:00
parent d257b2ee17
commit 03037121aa
4 changed files with 682 additions and 125 deletions
-1
View File
@@ -276,7 +276,6 @@ enum {
MemoryForImageCache = 64 * 1024 * 1024, // after 64mb of unpacked images we try to clear some memory
NotifySettingSaveTimeout = 1000, // wait 1 second before saving notify setting to server
UpdateChunk = 100 * 1024, // 100kb parts when downloading the update
IdleMsecs = 60 * 1000, // after 60secs without user input we think we are idle
SendViewsTimeout = 1000, // send views each second