levlam
|
c8507ec16a
|
Add time limit for applying of pending PTS updates.
|
2022-11-27 00:59:09 +03:00 |
|
levlam
|
b1ddf9d3a7
|
Minor fixes.
|
2022-11-23 16:32:09 +03:00 |
|
levlam
|
3992c3695a
|
Add more logging for long update applying.
|
2022-11-20 22:41:50 +03:00 |
|
levlam
|
6eb7217b66
|
Avoid expected warning.
|
2022-11-20 11:29:05 +03:00 |
|
levlam
|
2d2446ae77
|
Improve updating of reply info.
|
2022-11-19 11:21:41 +03:00 |
|
levlam
|
9f39aeecdf
|
Add source to invalidate_channel_full.
|
2022-11-17 14:01:08 +03:00 |
|
levlam
|
d1afd1c3b7
|
Minor improvements.
|
2022-11-02 19:51:41 +03:00 |
|
levlam
|
e33dac507d
|
Add getForumTopicDefaultIcons.
|
2022-10-27 10:06:13 +03:00 |
|
levlam
|
eadf411679
|
Support forum topic creation.
|
2022-10-25 16:10:15 +03:00 |
|
levlam
|
c9f8390bd5
|
Move TranscribeAudioQuery to TranscriptionInfo.cpp.
|
2022-10-20 19:52:20 +03:00 |
|
levlam
|
46562f56d0
|
Explicitly subscribe to updateTranscribedAudio updates.
|
2022-10-20 17:52:32 +03:00 |
|
levlam
|
4067ba66d3
|
Improve backward compatibility.
|
2022-10-17 15:44:30 +03:00 |
|
levlam
|
897032e0fd
|
Add support for multiple usernames.
|
2022-10-12 21:04:18 +03:00 |
|
levlam
|
87174e5e81
|
Update layer to 148.
|
2022-10-07 18:04:00 +03:00 |
|
levlam
|
88ffdb62e7
|
Split NotificationSettings.h.
|
2022-10-25 01:22:04 +03:00 |
|
levlam
|
09cffa693a
|
Improve source for telegram_api::updates.
|
2022-10-06 18:21:25 +03:00 |
|
levlam
|
7f353cd064
|
Support telegram_api::updateMessageExtendedMedia.
|
2022-09-23 12:07:07 +03:00 |
|
levlam
|
cb01c3022c
|
Move check_currency_amount to misc.h.
|
2022-09-22 19:33:43 +03:00 |
|
levlam
|
7f433c7e18
|
Add OrderInfo.h.
|
2022-09-22 19:28:39 +03:00 |
|
levlam
|
1679d1338c
|
Update layer to 146.
|
2022-09-16 15:36:25 +03:00 |
|
levlam
|
164f5e97fd
|
Support telegram_api::updateRecentReactions.
|
2022-09-12 19:52:08 +03:00 |
|
levlam
|
ece581b797
|
Load recent reactions.
|
2022-09-12 19:14:02 +03:00 |
|
levlam
|
7b6d0ea6b4
|
Load top reactions from server.
|
2022-09-12 17:28:58 +03:00 |
|
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 |
|
levlam
|
68ad0b4317
|
Add ContactsManager::get_dialog_id.
|
2022-04-30 21:13:01 +03:00 |
|
levlam
|
17275fe422
|
Output the number of objects to be freed on closing.
|
2022-04-25 20:52:44 +03:00 |
|
levlam
|
1f18008cc6
|
Add td_api::getSavedNotificationSounds.
|
2022-04-13 22:14:40 +03:00 |
|
levlam
|
7fff2d2e40
|
Reload ringtones after receiving updateSavedRingtones.
|
2022-04-13 20:36:57 +03:00 |
|
levlam
|
163e739302
|
Add set_promises/fail_promises helper functions.
|
2022-04-13 17:40:12 +03:00 |
|
levlam
|
9fd72e86d0
|
Move scope notification settings tp NotificationSettingsManager.
|
2022-04-11 12:45:52 +03:00 |
|
levlam
|
62612b9668
|
Add BotMenuButton.
|
2022-04-06 20:24:54 +03:00 |
|
levlam
|
7f587c24d9
|
Replace get_restricted_rights with RestrictedRights constructors.
|
2022-04-04 14:13:51 +03:00 |
|
levlam
|
07424ae14e
|
Add updateWebAppMessageSent.
|
2022-03-31 22:02:19 +03:00 |
|
levlam
|
5b81010f0b
|
Add promise to reload_attach_menu_bots.
|
2022-03-29 15:42:57 +03:00 |
|
levlam
|
0375704460
|
Use get_input_user instead of have_input_user.
|
2022-03-28 20:26:28 +03:00 |
|
levlam
|
ec802b1b57
|
Add updateAttachMenuBots.
|
2022-03-25 16:00:06 +03:00 |
|
levlam
|
479667dd1a
|
Update layer to 140.
|
2022-03-18 14:46:01 +03:00 |
|
levlam
|
1f38124861
|
Use FlatHashSet.
|
2022-03-11 21:38:48 +03:00 |
|
levlam
|
6079b1a2b4
|
Asynchronously init DownloadManager.
|
2022-03-03 18:26:25 +03:00 |
|
levlam
|
8d48190748
|
Add warning if failed to find message edit pts.
|
2022-02-16 21:21:37 +03:00 |
|
levlam
|
24d2505f5b
|
Improve pts extraction from updates.
|
2022-02-16 21:18:36 +03:00 |
|
levlam
|
c88955a8b7
|
Load unknown messages to process updateMessageReaction.
|
2022-02-08 18:48:09 +03:00 |
|
levlam
|
7c4d333a77
|
Support updateMessageReactions.
|
2022-01-21 11:53:18 +03:00 |
|
levlam
|
dd48b43769
|
Allow to change default reaction.
|
2022-01-05 18:03:02 +03:00 |
|
levlam
|
8085779cdc
|
Update copyright year.
|
2022-01-01 03:35:39 +03:00 |
|
levlam
|
20a460aeb3
|
Update layer to 136.
|
2021-12-28 17:19:18 +03:00 |
|
levlam
|
4e29d0e232
|
Rename message_ttl_setting to message_ttl.
|
2021-12-21 14:06:15 +03:00 |
|
levlam
|
7d2335bec4
|
Postpone again unacceptable PTS updates.
|
2021-12-13 22:30:42 +03:00 |
|
levlam
|
9e602006e6
|
Update local was_online by to be postponed updates.
|
2021-12-13 22:12:49 +03:00 |
|
levlam
|
5512700b77
|
Immediately reload *Full after invalidation in opened chats.
|
2021-12-01 23:31:10 +03:00 |
|
levlam
|
acc43bb0b5
|
Allow typings by chats and rename updateUserChatAction to updateChatAction.
|
2021-11-23 14:29:49 +03:00 |
|
levlam
|
ae987f2211
|
Add inlineKeyboardButtonTypeUser.
|
2021-11-10 17:14:00 +03:00 |
|
levlam
|
6ace4fdf36
|
Update layer to 135.
|
2021-11-09 19:07:55 +03:00 |
|
levlam
|
5578ecc6b8
|
Remove NetQuery id from ResultHandler and NetActor.
|
2021-11-08 14:19:57 +03:00 |
|
levlam
|
b7cf2e578d
|
Save reference to UpdatesManager in promise.
|
2021-11-05 03:31:48 +03:00 |
|
levlam
|
0c1e268706
|
Don't generate MASK for parsed True fields.
|
2021-11-01 21:53:23 +03:00 |
|
levlam
|
39b5db357e
|
Add updateNewChatJoinRequest.
|
2021-10-28 22:49:56 +03:00 |
|
levlam
|
00a349656d
|
Unify td/telegram/include order.
|
2021-10-27 17:32:09 +03:00 |
|
levlam
|
8d458f3038
|
Add chatJoinRequestsInfo with user identifiers.
|
2021-10-26 20:51:06 +03:00 |
|
levlam
|
e49ae700b6
|
Add chat.pending_join_request_count.
|
2021-10-12 18:11:17 +03:00 |
|
levlam
|
23775700ac
|
Update layer to 134.
|
2021-10-08 13:45:10 +03:00 |
|
levlam
|
db7aa28bdf
|
A lot more minor improvements.
|
2021-10-19 18:11:16 +03:00 |
|
levlam
|
9b7957c9c6
|
Minor warning fixes.
|
2021-10-17 13:07:20 +03:00 |
|
levlam
|
3b794126d8
|
Avoid G usage in lambda promises.
|
2021-10-07 15:28:52 +03:00 |
|
levlam
|
196128b2f1
|
Update chat theme cache after receiving telegram_api::updateTheme.
|
2021-09-12 22:29:40 +03:00 |
|
levlam
|
31a4a97ec1
|
Add messageChatSetTheme.
|
2021-08-18 16:03:10 +03:00 |
|
levlam
|
ca03135f02
|
Use (1 << 30) as pts overflow mark. At least 1e9 must be used, because pts can jump from 1 to 1e9 when switching to tmessages.
|
2021-08-26 18:05:27 +03:00 |
|
levlam
|
e31a48998d
|
Remove "Filling gap" warnings during getDifference.
|
2021-08-26 17:23:18 +03:00 |
|
levlam
|
241718eae8
|
Extract pts and qts updates and apply them during getDifference.
|
2021-08-20 17:21:31 +03:00 |
|
levlam
|
a7e2e85119
|
Simplify check that all updates were processed.
|
2021-08-20 15:04:24 +03:00 |
|
levlam
|
7129a6d090
|
Apply typings and other short updates immediately.
|
2021-08-20 14:18:11 +03:00 |
|
levlam
|
7261c9579f
|
Improve logging.
|
2021-08-20 10:57:19 +03:00 |
|
levlam
|
a6ba1240c1
|
Fix applying of postponed updates.
|
2021-08-20 10:29:57 +03:00 |
|
levlam
|
4988e94c02
|
Don't save pts too often for bots.
|
2021-08-19 20:36:26 +03:00 |
|
levlam
|
23f5c52ad9
|
Support applying multiple postponed updates at once.
|
2021-08-18 17:40:28 +03:00 |
|
levlam
|
7ac3c2bdb9
|
Update accumulated_pts_count_ when a pending pts update is processed.
|
2021-08-16 14:02:15 +03:00 |
|
levlam
|
c19a0751f0
|
Apply postponed pts/qts updates after each getDifference iteration.
|
2021-08-16 13:35:30 +03:00 |
|
levlam
|
b9b9f56b24
|
Process pending pts updates as fast as possible.
|
2021-08-16 12:19:30 +03:00 |
|
levlam
|
0f5127602a
|
Cancel previous gap timeout if processed a pending update.
|
2021-08-16 08:38:29 +03:00 |
|
levlam
|
78534b15cf
|
Minor improvememnts.
|
2021-08-16 01:30:38 +03:00 |
|
levlam
|
82918559b8
|
Refactor processing of differenceSlice.
|
2021-08-16 01:00:49 +03:00 |
|
levlam
|
2e524bb819
|
Fix log message.
|
2021-08-16 00:11:48 +03:00 |
|
levlam
|
2128c2e5ad
|
Improve getDifference logging.
|
2021-08-15 22:54:18 +03:00 |
|
levlam
|
1f486a694b
|
Switch back from getDifference to updates processing as fast as possible.
|
2021-08-15 22:34:03 +03:00 |
|
levlam
|
d7dd6ff1ea
|
Improve logging.
|
2021-08-15 22:31:24 +03:00 |
|
levlam
|
6194d9ec14
|
Drop pending seq/qts updates received before seq/qts overflow.
|
2021-08-15 13:52:00 +03:00 |
|
levlam
|
8ac0b02a6d
|
Improve warnings on long gap fill.
|
2021-08-15 12:51:57 +03:00 |
|
levlam
|
9a5872fe27
|
Use update receive time to calculate proper gap time.
|
2021-08-15 12:46:38 +03:00 |
|
levlam
|
9b801645f0
|
Set gap timeout if it has decreased.
|
2021-08-15 11:43:00 +03:00 |
|
levlam
|
86c6115d49
|
Faster switching back from getDifference to updates.
|
2021-08-05 21:29:40 +03:00 |
|
levlam
|
a4bd165061
|
Increase MAX_UNFILLED_GAP_TIME to 0.7. 0.4 timeout is too low and causes too much unneeded getDifference calls.
|
2021-07-30 21:05:18 +03:00 |
|
levlam
|
e387b43e62
|
Decrease MAX_UNFILLED_GAP_TIME to 0.4.
|
2021-07-13 17:44:10 +03:00 |
|
levlam
|
40c5d47717
|
Make inherited classes final if possible.
|
2021-07-04 05:58:54 +03:00 |
|
levlam
|
edfa5d1d98
|
Use final instead of override.
|
2021-07-03 23:51:36 +03:00 |
|
levlam
|
f210906dca
|
Support updateBotCommands.
|
2021-06-28 18:32:29 +03:00 |
|
levlam
|
da2d81c81b
|
Update layer to 131.
|
2021-06-28 15:55:11 +03:00 |
|
levlam
|
12ae67a64f
|
Don't try to schedule getDifference if unauthorized.
|
2021-06-27 06:02:58 +03:00 |
|
levlam
|
2b7b6b7759
|
Improve logging on log out.
|
2021-06-27 05:52:43 +03:00 |
|
levlam
|
f9a5eae94c
|
Improve log message.
|
2021-06-20 03:13:40 +03:00 |
|
levlam
|
9662679968
|
Process updateMessagePollVote as qts update.
|
2021-05-18 19:33:18 +03:00 |
|
levlam
|
2225e56906
|
Add startGroupCallScreenSharing.
|
2021-04-30 19:53:39 +03:00 |
|
levlam
|
d8b905a986
|
Update layer to 129.
|
2021-04-30 17:07:01 +03:00 |
|
levlam
|
a6a4eb6616
|
Don't include SliceBuilder.h in logging.h.
|
2021-05-17 15:21:11 +03:00 |
|
levlam
|
26dc0ad930
|
Update layer to 127.
|
2021-03-26 18:15:21 +03:00 |
|
levlam
|
a0dcd2d9c2
|
Add optional source to have_dialog_force.
|
2021-04-08 00:51:32 +03:00 |
|
levlam
|
984e79b7f7
|
Drop channel invite link, only when corresponding administrator right is removed.
|
2021-03-28 02:35:11 +03:00 |
|
levlam
|
110a68c764
|
Try to get information about min-participants from server.
|
2021-03-18 22:36:59 +03:00 |
|
levlam
|
0339921102
|
Improve some spelling.
|
2021-03-15 03:32:14 +03:00 |
|
levlam
|
bcf3643cf7
|
Update layer to 125.
|
2021-03-02 17:27:44 +03:00 |
|
levlam
|
58d9f668c1
|
Improve schedule_get_difference logging.
|
2021-03-14 05:19:07 +03:00 |
|
levlam
|
76dce207b3
|
Force getDifference after receiving an update with incorrect qts.
|
2021-03-14 05:08:37 +03:00 |
|
levlam
|
b1da98faeb
|
Fix possible integer overflow.
|
2021-03-03 15:10:00 +03:00 |
|
levlam
|
3b3801abbe
|
Update layer 124.
|
2021-02-25 21:09:13 +03:00 |
|
levlam
|
c733f8ed34
|
Minor improvements.
|
2021-02-25 15:56:26 +03:00 |
|
levlam
|
2e943a6c85
|
Fix misprint.
|
2021-02-19 16:37:44 +03:00 |
|
levlam
|
60e45f6457
|
Fix processing of qts updates.
|
2021-02-19 14:43:16 +03:00 |
|
levlam
|
ce80a2f12f
|
Improve qts gap debug.
|
2021-02-19 14:12:50 +03:00 |
|
levlam
|
62a4c0c58d
|
Add updateChatMember.
|
2021-02-19 13:57:46 +03:00 |
|
levlam
|
fd190bc9bd
|
Process updateChatParticipant and updateBotStopped.
|
2021-02-19 02:16:50 +03:00 |
|
levlam
|
f92339de85
|
Support telegram_api::messageActionSetMessagesTTL.
|
2021-02-16 15:15:45 +03:00 |
|
levlam
|
cc50f3b143
|
Support receiving message TTL setting for all chat types.
|
2021-02-09 17:35:48 +03:00 |
|
levlam
|
642a9a9efb
|
Update layer to 124.
|
2021-02-02 02:00:28 +03:00 |
|
levlam
|
c6466caee2
|
Add logging on long pts gap filling.
|
2021-02-01 13:06:38 +03:00 |
|
levlam
|
9e37c85af3
|
Minor improvements.
|
2021-01-27 02:57:59 +03:00 |
|
levlam
|
cc8c0cbe64
|
Support delete_history flag in messages.discardEncryption.
|
2021-01-18 15:04:31 +03:00 |
|
levlam
|
9a575cdb56
|
Forcely ignore updateChat received in getDifference.
|
2021-01-20 15:14:16 +03:00 |
|
levlam
|
e72c129f9c
|
Ignore getDifference errors while closing.
|
2021-01-18 15:54:29 +03:00 |
|
levlam
|
35c4562fc5
|
Make on_server_pong private.
|
2021-01-16 02:59:03 +03:00 |
|
levlam
|
7a94cac200
|
Make on_get_updates_state private.
|
2021-01-16 02:55:47 +03:00 |
|
levlam
|
7c0af14d09
|
Make on_get_difference private.
|
2021-01-16 02:44:58 +03:00 |
|
levlam
|
004876dcf0
|
Make get_pts/get_qts/get_date private.
|
2021-01-16 01:42:06 +03:00 |
|
levlam
|
ef920f297d
|
Move handling of pending pts updates to UpdatesManager.
|
2021-01-16 01:17:35 +03:00 |
|
levlam
|
3c1341731c
|
Move check_pts_update to UpdatesManager.
|
2021-01-15 23:39:34 +03:00 |
|
levlam
|
67403c586b
|
Remove force_apply parameter from on_update.
|
2021-01-15 19:32:16 +03:00 |
|
levlam
|
24664db3cb
|
Forcely process qts updates in process_updates.
|
2021-01-15 19:09:00 +03:00 |
|
levlam
|
76fac90693
|
Simplify telegram_api::updateMessageID processing.
|
2021-01-15 18:52:41 +03:00 |
|
levlam
|
2eacc1f974
|
Forcely process pts updates in process_updates.
|
2021-01-15 18:45:26 +03:00 |
|
levlam
|
36b4c55927
|
Remove force_apply from add_pending_update.
|
2021-01-12 01:52:10 +03:00 |
|
levlam
|
840391b95c
|
Add is_pts_update/is_qts_update.
|
2021-01-11 23:58:03 +03:00 |
|
levlam
|
cdbed1844a
|
Add updateFolderPeers to pts updates.
|
2021-01-11 23:14:41 +03:00 |
|
levlam
|
c5549b7346
|
Improve log messages.
|
2021-01-08 16:05:16 +03:00 |
|
levlam
|
71ac1f67bf
|
Force getDifference if receive a lot of qts updates.
|
2021-01-05 16:36:49 +03:00 |
|
levlam
|
970f65604a
|
Switch back from getDifference to updates handling if there are too much of them.
|
2021-01-05 16:06:51 +03:00 |
|
levlam
|
89fa0f6446
|
Add get_update_qts/get_update_pts.
|
2021-01-05 12:41:35 +03:00 |
|
levlam
|
82f0386e73
|
Move some functions from misc.h to algorithm.h.
|
2021-01-01 16:01:03 +03:00 |
|
levlam
|
52c1da0a70
|
Update copyright year.
|
2021-01-01 15:57:46 +03:00 |
|
levlam
|
9ca42ec8da
|
Check message pts before merging files.
|
2020-12-25 16:12:09 +03:00 |
|
levlam
|
a8377db05d
|
Simplify handling of updateNewChannelMessage and updateEditChannelMessage.
|
2020-12-25 02:56:22 +03:00 |
|
levlam
|
b867a597e8
|
Simplify add_pending_channel_update calls.
|
2020-12-25 02:37:14 +03:00 |
|
levlam
|
4a28b98022
|
Pass promise to add_pending_channel_update.
|
2020-12-25 00:20:21 +03:00 |
|
levlam
|
4ea10b3de6
|
Pass promise to MessagesManager::add_pending_update.
|
2020-12-24 21:56:15 +03:00 |
|
levlam
|
887c2dfdf7
|
Properly set promise when ignore pending updates.
|
2020-12-23 02:06:45 +03:00 |
|
levlam
|
b9d1530c78
|
Store all promises for pending qts updates.
|
2020-12-23 01:58:56 +03:00 |
|
levlam
|
656a641290
|
Fix sending response to setPollAnser.
|
2020-12-22 01:51:20 +03:00 |
|
levlam
|
7d73126506
|
Add success promise to on_get_updates.
|
2020-12-21 22:06:52 +03:00 |
|
levlam
|
e89d353b68
|
Add groupCall.need_rejoin flag.
|
2020-12-17 17:49:15 +03:00 |
|
levlam
|
96acefc6c6
|
Update layer 122.
|
2020-12-14 16:52:25 +03:00 |
|
levlam
|
6fdf68bad4
|
Store DialogId in information about group call.
|
2020-12-13 14:52:07 +03:00 |
|
levlam
|
76950e710f
|
Support updateGroupCallParticipants updates.
|
2020-12-11 18:44:03 +03:00 |
|
levlam
|
6a38d219f0
|
Update layer 122. Add updateNewInlineQuery.chat_type (can be sent by the server in the distant future).
|
2020-12-07 23:08:18 +03:00 |
|
levlam
|
eb9abbb9ab
|
Save voice chat channel_id.
|
2020-12-04 12:40:51 +03:00 |
|
levlam
|
34e05375c1
|
Add GroupCallId class.
|
2020-12-03 19:52:50 +03:00 |
|
levlam
|
7f9681313a
|
Update layer 122.
|
2020-11-29 15:41:03 +03:00 |
|
levlam
|
1eca39c4ee
|
Add toggleGroupCallMuteNewMembers method.
|
2020-11-27 01:58:36 +03:00 |
|
levlam
|
e1271c7fa5
|
Add createChatGroupCall.
|
2020-11-26 10:56:13 +03:00 |
|
levlam
|
cc47f9b63f
|
Support updateGroupCall.
|
2020-11-25 17:04:32 +03:00 |
|
levlam
|
59e0f03b5f
|
Update UpdatesManager::is_acceptable_message.
|
2020-11-24 01:36:20 +03:00 |
|
levlam
|
ccb0a4f63c
|
Update layer to 122.
|
2020-11-23 18:48:55 +03:00 |
|
levlam
|
778adce53d
|
Add debug logging.
GitOrigin-RevId: 08ae2a25ae086a2211658239a532e1e19d996a4f
|
2020-10-31 16:33:06 +03:00 |
|
levlam
|
7010c7c6ea
|
Fix dropping pending updates after receiving empty difference.
GitOrigin-RevId: b8a7a2298191123b0e5be818ebae52c52998eab0
|
2020-10-31 12:01:13 +03:00 |
|
levlam
|
01447bb3f3
|
Process Message.is_pinned updates.
GitOrigin-RevId: 5dd3c0545a295c9faf408a3dbf8fb2767e290e34
|
2020-10-20 15:08:36 +03:00 |
|
levlam
|
44b9ce89b8
|
Update layer to 120.
GitOrigin-RevId: 6318c68a9df151edc3c198473aeaf895d89fc594
|
2020-10-20 02:48:19 +03:00 |
|
levlam
|
ef09c6c5a9
|
Add message.is_pinned flag.
GitOrigin-RevId: 0449aaa0d12f29d722fbfcf4bad6d85f2212d819
|
2020-10-20 02:08:56 +03:00 |
|
levlam
|
de1e5e0bd4
|
Add new message content type MessageLiveLocationApproached.
GitOrigin-RevId: 6bf5ac6b3320d0b6da9c27bf5258105ccd958396
|
2020-10-19 20:44:09 +03:00 |
|
levlam
|
d968fd0bed
|
Implement new chat action rules.
GitOrigin-RevId: 12214755c86adfee0a7b3ec5f6e39024364cdb99
|
2020-10-26 15:25:34 +03:00 |
|
levlam
|
f50e017c1f
|
Add seq overflow handling.
GitOrigin-RevId: 082d5989e061b8408f88dd92a3bf1665d3db6d79
|
2020-10-04 13:01:53 +03:00 |
|
levlam
|
771ace5c8d
|
Minor fixes.
GitOrigin-RevId: 7cc15963615dd50f1be3aa37c336214b28f93bb4
|
2020-10-02 02:17:58 +03:00 |
|
levlam
|
8c4a9e7553
|
Add DialogAction::get_typing_action().
GitOrigin-RevId: a2abad1076b6a54135ee945f8f75a0f8b2c04af7
|
2020-10-01 19:30:07 +03:00 |
|
levlam
|
711b0cfd4f
|
Introduce DialogAction class.
GitOrigin-RevId: f94011c1b70cdc17115bfbb981c6e000110adfbf
|
2020-10-01 19:28:10 +03:00 |
|
levlam
|
3d21c09ca8
|
Drop pending seq/qts updates after receiving empty difference.
GitOrigin-RevId: 2e1e66568a9b565f990a68059729affbae1aa68d
|
2020-09-30 21:42:32 +03:00 |
|
levlam
|
fb2cfc1fe3
|
Rename top_erply_message_id to top_thread_message_id.
GitOrigin-RevId: 4642286bdc2dc10073b1ab418b274af16b35c122
|
2020-09-28 14:01:15 +03:00 |
|
levlam
|
590fc8f8bb
|
Fix check for acceptable reply header.
GitOrigin-RevId: 9c636e96ef5e615fd434fb2e63e459eead57a5bb
|
2020-09-23 02:17:57 +03:00 |
|
levlam
|
4aa10dbcc5
|
Fix seq updating after all updates was processed.
GitOrigin-RevId: 11070e368d10d8378b5b30010a5ea1028d4e2fbe
|
2020-09-22 18:16:05 +03:00 |
|
levlam
|
9ecb61965d
|
Move is_blcoked to Chat.
GitOrigin-RevId: 7d1fc672c9487feba0839b7af669323464243ffc
|
2020-09-20 01:54:40 +03:00 |
|
levlam
|
dad48976b5
|
Add unread status in message threads.
GitOrigin-RevId: ed0fb2fc705b9539001b365fd5aa07d762d9a382
|
2020-09-19 22:01:28 +03:00 |
|
levlam
|
5b07557f3d
|
Support receiving typings inside a message thread.
GitOrigin-RevId: ccedc84e6066d37835e560929c69c3f2cb010dcf
|
2020-09-18 20:15:12 +03:00 |
|
levlam
|
b45ccc6d14
|
Update layer 119.
GitOrigin-RevId: fba8e1e0e8cf9b6fda11ab3762bd6efca5865eb8
|
2020-09-18 18:32:59 +03:00 |
|
levlam
|
7e6cb9a8e4
|
Handle updateReadDiscussion.
GitOrigin-RevId: 2cb783768934ee67bad98511edfc061ae6aa879b
|
2020-09-16 16:41:08 +03:00 |
|
levlam
|
f9a7917eff
|
Simplify is_acceptable_dialog usage.
GitOrigin-RevId: 0914cd24bb8c1a2cc878692a0f157d17dab667dd
|
2020-09-11 17:56:17 +03:00 |
|
levlam
|
7df0c5084a
|
Fix updateShortMessage handling.
GitOrigin-RevId: 35c667af5646654ed9f8495774043adb10b12faf
|
2020-09-11 17:51:01 +03:00 |
|
levlam
|
643371aa2f
|
Check message reply header in updates.
GitOrigin-RevId: bb71f4cf73f104b6d2f9da18305007336b9397bf
|
2020-09-10 16:28:25 +03:00 |
|
levlam
|
aa6c746e8d
|
Add MessagesManager::fix_server_reply_to_message_id.
GitOrigin-RevId: cafb49b6885fc992ff4867a254771a1fa9a6084b
|
2020-09-10 14:54:34 +03:00 |
|
levlam
|
f05b8cec61
|
Update layer 119. Add sender_chat_id.
GitOrigin-RevId: ac837165b7bbd57631456291503e688339e04d03
|
2020-09-08 22:08:10 +03:00 |
|
levlam
|
ed782145bf
|
Add reply_count and recent_replier_user_ids to MessageIntercationInfo.
GitOrigin-RevId: 48bae463c091d3d29e3096ebb4c2fbbbeda38dfd
|
2020-08-31 13:42:27 +03:00 |
|
levlam
|
b90e1bbeaf
|
Update layer to 119.
GitOrigin-RevId: fdec9a689414746baf67cc15ec279e2516c2765a
|
2020-08-30 22:12:43 +03:00 |
|
levlam
|
23b3eb4931
|
Update layer to 118. Support message forward count.
GitOrigin-RevId: 10f59fede8b4a86c871949fc721fedd1d615c4bf
|
2020-07-31 05:50:11 +03:00 |
|
levlam
|
4bf3b013c7
|
Add updateChannelParticipant processing.
GitOrigin-RevId: 5701dcbb068583266aaf00b3b4ed5c6336566e76
|
2020-08-03 21:54:28 +03:00 |
|
levlam
|
790267119d
|
Fix applying of pending qts updates after getDifference.
GitOrigin-RevId: b8cd1cadc19c8d8be01936def2b8c98523b261dc
|
2020-08-03 17:37:08 +03:00 |
|
levlam
|
e9d3b4881e
|
Support gaps in qts updates.
GitOrigin-RevId: afcae4aa4ac456f5b8d8b2e46b92126a606bdca9
|
2020-08-03 16:57:30 +03:00 |
|
levlam
|
3be95dd6e8
|
Apply telegram_api::updateEncryption before other updates.
GitOrigin-RevId: 1a03b2141630a0c432ca2bef92b457da08d2e1a5
|
2020-08-03 01:51:57 +03:00 |
|
levlam
|
c44cd3415c
|
Move QtsManager to UpdatesManager.
GitOrigin-RevId: 792faddd71cb3f9c07a4fd915ca782bfe2606ac3
|
2020-08-02 22:07:22 +03:00 |
|