Commit Graph

331 Commits

Author SHA1 Message Date
levlam
8e5f33e699 Process updateMoveStickerSetToTop update. 2022-09-02 18:35:57 +03:00
levlam
c92f741a83 Add get_sticker_type function. 2022-09-02 18:18:18 +03:00
levlam
899ceecab1 Support new special sticker set types. 2022-09-02 13:59:49 +03:00
levlam
6f940b5e9b Support updateRecentEmojiStatuses. 2022-08-31 16:56:40 +03:00
levlam
31ec06a134 Add td_api::getDefaultPremiumStatuses. 2022-08-30 18:03:57 +03:00
levlam
b4b9ff563f Fix applying of postponed pts updates after pts repair. 2022-08-29 01:16:29 +03:00
levlam
1787574262 Avoid expected logging. 2022-08-28 22:57:19 +03:00
levlam
663389f19d Support improved updateStickerSets. 2022-08-23 18:24:21 +03:00
levlam
ce845b0753 Process updateUserEmojiStatus. 2022-08-23 18:14:46 +03:00
levlam
bb2034ae36 Update layer to 145. 2022-08-08 23:00:06 +03:00
levlam
fe714b805b Drop all postponed updates before restoring PTS. 2022-08-21 08:22:58 +03:00
levlam
e72d59ea78 Add warning for slow applying of postponed PTS updates. 2022-08-20 15:25:29 +03:00
levlam
04b98aa385 Use OptionManager directly if possible. 2022-08-18 17:00:18 +03:00
levlam
3318ffdb20 Proxy all option-related requests through G. 2022-08-17 16:11:13 +03:00
levlam
12d852abc5 Check for close_flag as early as possible. 2022-08-10 13:57:41 +03:00
levlam
ca95e77845 Avoid expected warning. 2022-08-08 19:20:19 +03:00
levlam
8717720ee9 Add constant for "after get difference" source. 2022-08-08 19:01:50 +03:00
levlam
e3e7368b17 Improve error message. 2022-08-02 21:12:05 +03:00
levlam
e40fbde299 Check currency amounts received from server. 2022-07-30 03:58:46 +03:00
levlam
ba3f24ed8d Rename stickerTypeEmoji to stickerTypeCustomEmoji. 2022-07-19 14:51:29 +03:00
levlam
4442293acf Support trending emoji sticker sets. 2022-07-17 22:39:22 +03:00
levlam
d3b9b3b7c4 Support premium gifts special sticker set. 2022-07-15 15:24:08 +03:00
levlam
5bdc4e207b Add stickerTypeEmoji. 2022-07-14 16:42:27 +03:00
levlam
c34f5d063b Use StickerType instead of is_masks everywhere. 2022-07-14 16:17:19 +03:00
levlam
e38615b71e Update layer to 144. 2022-07-01 14:33:59 +03:00
levlam
061aac58db Make DownloadManager interface mostly asynchronous. 2022-07-23 16:41:03 +03:00
levlam
70d4fd863b Avoid updates serialization if it will not be needed. 2022-06-28 16:50:22 +03:00
levlam
9ef9751f5f Immediately exit UpdatesManager::process_updates if there are no updates to process. 2022-06-28 16:43:51 +03:00
levlam
faaf8f10f9 Process channel PTS updates during getDifference. 2022-06-28 16:39:32 +03:00
levlam
32bac7bd24 Move Promise to tdutils. 2022-06-27 13:30:18 +03:00
levlam
513da45a8f Use free-standing function to create event promises. 2022-06-27 02:57:56 +03:00
levlam
63d5a1f32a Fix check. 2022-06-25 21:15:03 +03:00
levlam
08e60886f7 Fix promise set in updates proxessing. 2022-06-25 09:26:30 +03:00
levlam
d29d508b84 Avoid MultiPromise usage if there is only one update to process. 2022-06-23 22:00:48 +03:00
levlam
638b4346ca Remove separate MessagesManager::on_update_scheduled_message_id. 2022-06-23 17:05:43 +03:00
levlam
6572d02dbd Use current time as update date if it is unknown. 2022-06-23 14:06:06 +03:00
levlam
bfcf52f87c Support MTPROTO_CLUSTER_INVALID error. 2022-06-06 20:36:15 +03:00
levlam
d9a9693747 Support updateTranscribeAudio. 2022-05-25 21:48:31 +03:00
levlam
59e926350e Add source to DialogInviteLink constructor. 2022-05-25 16:31:17 +03:00
levlam
63d607c6c3 Improve rescheduling of scheduled messages with replies. 2022-05-18 21:11:28 +03:00
levlam
cfc20397a0 Update layer to 143. 2022-04-19 17:43:24 +03:00
levlam
3ae2ec38c5 Always reload scope notification settings. 2022-05-31 17:18:27 +03:00
levlam
63a4027ab2 Add source to on_get_poll. 2022-05-29 19:31:36 +03:00
levlam
980c4f9f71 Silence expected warning. 2022-05-26 15:21:56 +03:00
levlam
d04552045d Add warnings about long application of postponed updates. 2022-05-22 22:09:46 +03:00
levlam
c2a580bbfb Don't try to reload data without authorization. 2022-05-20 16:59:14 +03:00
levlam
941206495a Reload data once an hour. 2022-05-13 13:56:18 +03:00
levlam
f1f6e61cd1 Reload all data when going online. 2022-05-12 16:40:53 +03:00
levlam
6790c309ac Move data reloading to UpdatesManager. 2022-05-12 16:34:13 +03:00
levlam
4652292037 Use count instead of find if appropriate. 2022-05-01 23:03:06 +03:00