Commit Graph

190 Commits

Author SHA1 Message Date
levlam
dc2300d7ae Update layer to 176. 2024-02-19 14:07:10 +03:00
levlam
73dc2b9889 Use multiset to store pending updates and improve PendingPtsUpdate comparison. 2024-01-26 14:59:07 +03:00
levlam
3391c643f3 Don't try to fetch the same update more than once. 2024-01-26 14:01:44 +03:00
levlam
168bba072d Remove UpdatesManager::init_sessions, because sessions are inited now by choosing of random one to send request, and init_sessions isn't called after temporary key is changed. 2024-01-25 22:33:44 +03:00
levlam
9a09125d62 Support telegram_api::updateSavedReactionTags. 2024-01-23 16:39:15 +03:00
levlam
be8b21cdf4 Update layer to 171. 2024-01-02 03:23:51 +03:00
levlam
e5f9e4c400 Decrease UPDATE_APPLY_WARNING_TIME and improve logging. 2024-01-17 16:50:08 +03:00
levlam
d963044eb9 Update copyright year. 2024-01-01 03:07:21 +03:00
levlam
cc37a0c937 Add td_api::updateMessageReactions for bots. 2023-12-14 23:44:31 +03:00
levlam
00aff8f557 Add td_api::updateMessageReaction for bots. 2023-12-14 19:55:53 +03:00
levlam
c6ce44815e Update layer to 169. 2023-12-05 12:30:12 +03:00
levlam
1604ee7b1d Improve includes. 2023-11-30 18:13:23 +03:00
levlam
ab39c96b2c Move transcription update subscription to TranscriptionManager. 2023-11-21 20:32:23 +03:00
levlam
7ffcd56f23 Support telegram_api::updateChannelViewForumAsMessages updates. 2023-11-16 17:11:36 +03:00
levlam
65e474ef49 Support telegram_api::updatePeerWallpaper. 2023-11-10 14:08:46 +03:00
levlam
d20ed201b0 Update layer to 167. 2023-11-09 19:37:26 +03:00
levlam
b2a85a5d1b Add td_api::updateChatBoost. 2023-10-31 00:18:38 +03:00
levlam
3c64604acc Update layer 166 scheme. 2023-10-30 23:26:53 +03:00
levlam
90fd69b202 Add UpdatesManager::is_acceptable_message_media. 2023-10-14 22:48:16 +03:00
levlam
8a711b56d9 Limit the number of ignored updates before end of the first get difference. 2023-10-14 03:00:54 +03:00
levlam
9a44005187 Add UpdatesManager::fix_short_message_flags. 2023-09-25 21:56:36 +03:00
levlam
1e2c0ce814 Rename FullMessageId to MessageFullId. 2023-09-21 19:11:17 +03:00
levlam
a874e617dc Add updateUnconfirmedSession. 2023-09-11 22:03:01 +03:00
levlam
a5073593e5 Update layer to 163. 2023-09-06 19:02:17 +03:00
levlam
02b4793ba2 Process telegram_api::updateStoryID. 2023-08-11 14:07:13 +03:00
levlam
f37a9e73ca Support telegram_api::updateSentStoryReaction. 2023-08-04 19:18:27 +03:00
levlam
a9f6f897c6 Process story stealth mode updates. 2023-08-04 14:51:39 +03:00
levlam
1022cc6439 Update layer to 161. 2023-07-21 15:41:44 +03:00
levlam
17d26321a5 Decrease gap fill wait time. 2023-07-25 13:06:59 +03:00
levlam
8893dc808f Ignore getDifference responses with invalid polls. 2023-07-24 19:42:09 +03:00
levlam
ac1295496c Unify stack traces for on_get_updates calls. 2023-07-20 21:03:05 +03:00
levlam
1669f8d4b8 Init sessions if there are multiple sessions. 2023-07-12 21:08:01 +03:00
levlam
56df91b265 Support updateReadStories. 2023-06-15 13:16:31 +03:00
levlam
eec9826dec Process telegram_api::updateStory updates. 2023-06-01 16:27:00 +03:00
levlam
030e440757 Update layer to 160. 2023-05-01 21:07:01 +03:00
levlam
cdb3df8966 Log PTS and QTS gap statistics for each million events. 2023-05-09 12:53:48 +03:00
levlam
797156bf11 Fast PTS gap repair. 2023-04-27 22:01:10 +03:00
levlam
b34955e7a9 Use separate request to confirm PTS and QTS. 2023-04-27 20:21:30 +03:00
levlam
5ad95e78bf Improve variable names. 2023-04-25 16:51:08 +03:00
levlam
23c8ef2f63 Return error 404 from addApplicationChangelog if nothing was added. 2023-03-23 16:53:11 +03:00
levlam
a49e63985d Send updateAddChatMembersPrivacyForbidden after successful request response. 2023-03-06 21:42:06 +03:00
levlam
b45d56d116 Add updateAddChatMembersPrivacyForbidden. 2023-03-03 14:42:30 +03:00
levlam
f6615189af Update layer to 154. 2023-02-07 14:01:45 +03:00
levlam
1e6c3ef93d Don't try to reload data mutiple times without network. 2023-02-06 20:31:17 +03:00
levlam
7556ef4b18 Support telegram_api::updateAutoSaveSettings. 2023-02-03 16:08:44 +03:00
levlam
5666925e5b Don't postpone updates during initial getDifference. 2023-01-29 12:49:25 +03:00
levlam
2325c5041b Collect statistics about received updates. 2023-01-25 17:48:04 +03:00
levlam
050a11ece7 Update layer to 152. 2023-01-06 12:42:16 +03:00
levlam
45ff12ca49 Improve PTS/QTS spelling. 2023-01-15 11:05:53 +03:00
levlam
9834594b16 Don't send parallel ping-server requests. 2023-01-03 15:32:10 +03:00