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 |
|
levlam
|
a297294aac
|
Update layer to 116.
GitOrigin-RevId: 7c12605195674f0b48dbc05734e99bffb2062d0c
|
2020-06-24 11:45:36 +03:00 |
|
levlam
|
c4113c6be3
|
Remove SecretChatsManager::after_get_difference.
GitOrigin-RevId: 17f3a30e354e2e532ba3975c2d4b84f7d8c904d3
|
2020-07-03 16:18:23 +03:00 |
|
levlam
|
f6b4ced7bb
|
Improve some variable names.
GitOrigin-RevId: b399b6fc1150aced96a41a75797d88e2df627415
|
2020-06-24 14:33:20 +03:00 |
|
levlam
|
f949ecbd3c
|
Add basic support for updateDialogFilter and updateDialogFilterOrder.
GitOrigin-RevId: 59b715faad14356926593a744cf90e38bf78f38f
|
2020-05-15 02:14:06 +03:00 |
|
levlam
|
0e5b939a73
|
Support telegram_api::updateDialogFilters.
GitOrigin-RevId: 0a3ada4fa00079a120d358b0abaf413bbb88466d
|
2020-05-15 01:44:52 +03:00 |
|
levlam
|
3d8ff7f852
|
Update layer to 114.
GitOrigin-RevId: 8cfc80aa94c507de56d068472e152fb8aa0ab8a9
|
2020-05-29 11:26:08 +03:00 |
|
levlam
|
a599557c9d
|
Support some updates before authorization.
GitOrigin-RevId: 21bd7a06bf41ebc81005b35a0695988d82e6b4a3
|
2020-03-30 01:48:44 +03:00 |
|
levlam
|
3d07b45a21
|
Update layer to 111.
GitOrigin-RevId: 47862200a12f3b5b9e5058192d5e9a9cdca862aa
|
2020-03-14 01:56:47 +03:00 |
|
levlam
|
b8848a2ab4
|
Simplify NetQuery creation.
GitOrigin-RevId: a01e72f8e196b405dd28dfd75d16cadc7127ec4a
|
2020-03-16 00:17:11 +03:00 |
|
levlam
|
190419bf8b
|
Early exit from fill_gap on closing.
GitOrigin-RevId: 1c31a0a673ae9aa6b091361cd3f86a2f3b6a40f2
|
2020-02-10 02:56:32 +03:00 |
|
levlam
|
945a3a1dc3
|
Fix applying of postponed updates.
GitOrigin-RevId: 924efd81a5dfd4235f55a0ddfdf1c94b76fd8dd2
|
2020-02-08 23:31:27 +03:00 |
|
levlam
|
660acfef22
|
Allow outdated unacceptable updates to avoid getDifference after trying to apply every such pending update.
GitOrigin-RevId: 61944ec2b4e81fa2ca61bee5887220964e0c9cbc
|
2020-02-04 04:06:20 +03:00 |
|
levlam
|
d56696c9da
|
Better logging on applying postponed updates.
GitOrigin-RevId: b42003117c3a4cb7bf3bed8485dad4a04ca94938
|
2020-02-03 20:13:37 +03:00 |
|
levlam
|
6d15cc7bf0
|
Add updatePollAnswer.
GitOrigin-RevId: 472f91830667f52317f03636f3ab2c37bca32d43
|
2020-01-13 22:56:59 +03:00 |
|
levlam
|
a7501e1582
|
Update layer to 109. Add new poll types.
GitOrigin-RevId: cc82f1bfdf1d4cd906212009f2dc8d84e0cb543a
|
2020-01-11 03:46:26 +03:00 |
|
levlam
|
80c35676a2
|
Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
|
2020-01-01 04:23:48 +03:00 |
|
levlam
|
ba5ccf48c6
|
Add source to on_get_sticker_set.
GitOrigin-RevId: 90cccf55f20fc5dafb6c76a2f780f19a818487cf
|
2019-12-29 04:59:34 +03:00 |
|
levlam
|
9f60d0bae1
|
Support QR code authentication.
GitOrigin-RevId: 140381ee80339b5ac2e15f149ad3a37688200e88
|
2019-12-17 19:17:57 +03:00 |
|
levlam
|
1dd4e1a767
|
Add td_api::updateMessageLiveLocationViewed.
GitOrigin-RevId: 2c9d6e1317e6604a23e30efab0dfa21a2e88f01d
|
2019-12-13 21:05:10 +03:00 |
|
levlam
|
ce7530c495
|
Update layer to 107.
GitOrigin-RevId: 27d0ed420224bced55d249bdb7afc549d75a2514
|
2019-12-13 05:15:59 +03:00 |
|
levlam
|
5e99992420
|
Ignore wrong still_unread_count in updateReadHistoryInbox from getDifference.
GitOrigin-RevId: 8742c705b048c92fc3af3938d599b2e525170be8
|
2019-12-06 22:17:22 +03:00 |
|
levlam
|
8bee3c715f
|
Support sending scheduled messages.
GitOrigin-RevId: 64d8e451182313ba95e5af0ae4f9af9f08330475
|
2019-12-05 20:34:19 +03:00 |
|
levlam
|
f34a515e70
|
Support updateNewScheduledMessage.
GitOrigin-RevId: 09e706ddb7eab36e139bc6619a92272dcaef1fa4
|
2019-12-02 19:30:35 +03:00 |
|
levlam
|
bfd3d653a7
|
Support updateDeleteScheduledMessages.
GitOrigin-RevId: 9f2d0cf00a3e6ffe20c1b0834cad69fbb0861ad7
|
2019-12-02 19:20:54 +03:00 |
|
levlam
|
b13213f9cb
|
Add is_scheduled parameter to on_get_messages.
GitOrigin-RevId: 534179758c55494fce0005d8aceaa74a2c3d7247
|
2019-12-02 00:11:15 +03:00 |
|
levlam
|
099e767b6b
|
Add ServerMessageId.h.
GitOrigin-RevId: f71d1f41f84c2263890875271f47f938e792aa55
|
2019-11-26 19:33:18 +03:00 |
|
levlam
|
c5cc0e90f6
|
Update layer ro 106.
GitOrigin-RevId: 41e5db3d090559a7403accc8057c9957e6ead02d
|
2019-11-21 22:57:20 +03:00 |
|
levlam
|
9d4512d2bd
|
Drop slow mode delay after is_slow_mode_enabled was changed to false.
GitOrigin-RevId: 63a492c8203eee4b99d2c3db4e6e9c63ba77fe73
|
2019-11-15 19:27:12 +03:00 |
|
levlam
|
1e018da7b8
|
Various fixes.
GitOrigin-RevId: b09e5fda6d25bd027f6bcbcbbe8324567b8ddcf8
|
2019-10-22 20:01:15 +03:00 |
|
levlam
|
47625f39f0
|
Add support for users and groups nearby.
GitOrigin-RevId: 98bde4f064541a0b8d6200092db0f3bc7f192b1f
|
2019-10-16 21:55:16 +03:00 |
|
levlam
|
9e8512411c
|
Combine block_user and unblock_user.
GitOrigin-RevId: 50c31ba274a7a5b70efe68ee8d307541e65eb48c
|
2019-10-11 18:31:16 +03:00 |
|
levlam
|
a5a69812e5
|
Add updatePeerSettings support.
GitOrigin-RevId: 0e5a18b57dea6cf82aa00996fd8ddb8fcca11313
|
2019-10-10 19:07:49 +03:00 |
|
levlam
|
99f4abb249
|
Update to layer 102. Replace LinkState with is_contact/is_mutual_contact.
GitOrigin-RevId: 33061b18ac72711f4df168fb27497bccb36d3367
|
2019-10-07 22:51:03 +03:00 |
|
levlam
|
408a456589
|
Add strongly typed StickerSetId.
GitOrigin-RevId: 518121f89e3a4c95ab5a2095a9bc2217090911de
|
2019-09-18 06:55:43 +03:00 |
|
levlam
|
eddbbe0d42
|
Process updateFolderPeers before new messages.
GitOrigin-RevId: 53baf318d3bf1d1f356a47cb89c2bb4e61880fc2
|
2019-09-15 04:59:22 +03:00 |
|
levlam
|
548f798b8d
|
Support updateFolderPeers.
GitOrigin-RevId: f5c9ef7f7db6df3dffbc6d25279605527ebb171a
|
2019-08-27 17:54:09 +03:00 |
|
levlam
|
c1afa189f3
|
Support multiple chat lists.
GitOrigin-RevId: 8adecce0ddf36bb2408eecc19b7f1fc8856151fc
|
2019-08-22 18:24:02 +03:00 |
|
levlam
|
936a84c025
|
Update to layer 99. Add support for ChatListType.
GitOrigin-RevId: fdd5de60e479fa9a72975bee8e3cb911f390ec01
|
2019-08-19 04:51:03 +03:00 |
|
levlam
|
0b6c1d226f
|
Update clag-format to the latest (190926/r372920) version.
GitOrigin-RevId: 7861ae8ad28eb1f6a06ff3c6f56eff3f67b1d24c
|
2019-09-28 05:14:21 +03:00 |
|
levlam
|
f29c4a9ed1
|
Remove unneded explicit td::.
GitOrigin-RevId: e3888510ce72a55072a11d105311f07b4ba42bbf
|
2019-09-15 06:19:46 +03:00 |
|
levlam
|
865ccc7560
|
Invalidate ChannelFull on updateChannel update.
GitOrigin-RevId: 081f68486d1555ba9cbcd5f954663a55c6551c00
|
2019-09-15 03:34:05 +03:00 |
|
levlam
|
9007f106b9
|
Update layer 98. Support for legacy messages flag.
GitOrigin-RevId: b10c8b60b7fbdfdbf8ab15e65ed32f1daa6c9ad2
|
2019-08-15 18:16:09 +03:00 |
|
levlam
|
d1f53092d1
|
Fix misprint in in_acceptable_user.
GitOrigin-RevId: 09b98d3986b9885fd6f33397e848767fcceed700
|
2019-07-13 18:17:55 +03:00 |
|
levlam
|
fa234d0f36
|
Try to load needed data from database before rejecting update.
GitOrigin-RevId: 17f0bbb6442b431dee926244d93913f820281379
|
2019-06-17 04:57:27 +03:00 |
|
levlam
|
b447f4e623
|
Add UpdatesManager::is_acceptable_{user,chat,channel} methods.
GitOrigin-RevId: 6d72de8ca766b145c25e750f71debdfe76d8b440
|
2019-06-17 04:48:29 +03:00 |
|
levlam
|
11e9923e0a
|
Improve is_acceptable_message.
GitOrigin-RevId: 494c88118bcb8da8e2e8cb956efd28ced3b424b5
|
2019-06-17 04:25:33 +03:00 |
|
levlam
|
30e96aa8c8
|
Improve applying chat full participants.
GitOrigin-RevId: 4280f3daa15b4120e81eb3891adced8ff5f97c1c
|
2019-06-13 00:21:30 +03:00 |
|
levlam
|
b641382eab
|
Support pinned_message version in basic groups.
GitOrigin-RevId: 75a011aa0ad138f9bf165870603c1be82038bbc8
|
2019-05-12 21:19:03 +03:00 |
|
levlam
|
e71b749a79
|
Add updateChatDefaultBannedRights support.
GitOrigin-RevId: 1e938066789b61f5f14003c268a62965fcc31a30
|
2019-03-20 16:32:27 +03:00 |
|
levlam
|
3ecf990ad6
|
Update layer to 95.
GitOrigin-RevId: 0d6b470b6ca6f72b5b87fbd899aaeae8892f8834
|
2019-03-15 16:52:55 +03:00 |
|
levlam
|
e47f1d6947
|
Add ignore_background_updates option.
GitOrigin-RevId: cefa2fd658d1e0426bd319db2f033b0506e0f8de
|
2019-04-21 21:17:11 +03:00 |
|
levlam
|
e9bb986d9c
|
Remove unneded UpdatesManager::get_state.
GitOrigin-RevId: d95a262233bd5959950eab8159a589a689d8a4b5
|
2019-04-18 17:57:57 +03:00 |
|
levlam
|
cb856f55a1
|
More consistent log out checks.
GitOrigin-RevId: df749bf0a8234d5ed537b1a7200d4a3ee037eb7d
|
2019-04-11 23:32:19 +03:00 |
|
levlam
|
b5802e435f
|
Send result to processPushNotification only after the updateNotificationGroup with the notification is sent.
GitOrigin-RevId: d7b814c0ae6ea0555444d9ec54a570e440889b67
|
2019-04-02 22:24:54 +03:00 |
|
levlam
|
6cebe30382
|
Find entities in MESSAGE_ANNOUNCEMENT.
GitOrigin-RevId: 3ca4500dea9ba0f3561470416db21bc1cc42616a
|
2019-03-26 01:24:23 +03:00 |
|
levlam
|
a165305968
|
Set local online on some message history reads.
GitOrigin-RevId: 140ed8921bb53c6aabbe5acfe25147854b2f9b53
|
2019-03-15 22:09:42 +03:00 |
|
levlam
|
0c89d34007
|
Use correct update date for typings; ignore too old typings.
GitOrigin-RevId: a1dc65a74bfbc8519591b0ca6739cf04ad58b2bc
|
2019-03-15 03:16:44 +03:00 |
|
levlam
|
3e0fb81e09
|
Bring users online locally after typing or sending/editing a message.
GitOrigin-RevId: 2bc4e0c29083f1dca6277498118f1dd6932ccda3
|
2019-03-15 02:29:36 +03:00 |
|
levlam
|
58f63d36d6
|
Fix includes.
GitOrigin-RevId: d633dc842591cd28a03f9fba6974a171926ed229
|
2019-02-22 23:15:43 +03:00 |
|
levlam
|
93494cf048
|
Fix log messages style.
GitOrigin-RevId: f99e2e838220826d3dea7fdc33c43ac9918a5efd
|
2019-02-21 18:58:20 +03:00 |
|
levlam
|
9d3bfaa979
|
Add source to on_update_dialog_notify_settings.
GitOrigin-RevId: a3b6d44d6e4b07ab05f564180ad071c15a6c49b6
|
2019-02-20 04:30:22 +03:00 |
|
levlam
|
5ef99afec7
|
Add messagePoll support.
GitOrigin-RevId: 41b93b2708285e4051fc01b856aa14a8c8c5c692
|
2019-02-19 16:45:32 +03:00 |
|
levlam
|
8f33e737e1
|
Ypdate to layer 91.
GitOrigin-RevId: 15675ae2938bbc64dd288fce11cbd9cab1c714e3
|
2019-02-18 03:27:35 +03:00 |
|
levlam
|
aae567f0c0
|
Fix GetNotifySettingsExceptionsQuery.
GitOrigin-RevId: b82e7c10304247002bde0ef568c79b38d7e688d6
|
2019-02-16 05:52:08 +03:00 |
|
levlam
|
d98aaa571f
|
Add td_api::getChatNotificationSettingsExceptions.
GitOrigin-RevId: f2ea5ced7cb2c62841dd961c4ce433f39c202f92
|
2019-02-14 21:44:20 +03:00 |
|
levlam
|
e7fc6f4d58
|
Update layer to 90.
GitOrigin-RevId: d105e3fe4c4c16764a8062915ad20bb9b8e3f815
|
2019-02-13 19:05:34 +03:00 |
|
levlam
|
f67138815a
|
Support new updateLangPackTooLong.
GitOrigin-RevId: a3707b2b9d763a0ad58e9e7201b67f7db81cbecc
|
2019-02-11 01:12:42 +03:00 |
|
levlam
|
591576e6a4
|
Support pinned messages in private and basic group chats.
GitOrigin-RevId: b08ba37a6b27f871e394b5e4ac1864766f046134
|
2019-02-01 15:19:32 +03:00 |
|
levlam
|
f465b460ca
|
Separate scope notification settings for channels.
GitOrigin-RevId: 11d11b2ddba5381d9dcac84768d923fa367f0248
|
2019-01-29 14:40:56 +03:00 |
|
levlam
|
a93ec0605e
|
Update layer to 87.
GitOrigin-RevId: d3079f5c906d1fea79fca14e04a23cd05ee1ba3d
|
2019-01-29 03:13:15 +03:00 |
|
levlam
|
e22e23a5ff
|
Add source to on_get_user and on_get_chat.
GitOrigin-RevId: a3f187dc0d7d981df6ca3f2566f66678b4ad4774
|
2019-01-12 06:48:39 +03:00 |
|
levlam
|
5438119bb4
|
Fix Global.h and TdDb.h includes.
GitOrigin-RevId: 89fa1ee3e8071ad3f27687f79d1a52de113f9705
|
2019-01-06 22:59:17 +03:00 |
|
levlam
|
eaebfad034
|
Update copyright year.
GitOrigin-RevId: 359e2b43322222922c44c430d3814b0a4c778dc6
|
2019-01-01 01:02:34 +03:00 |
|
levlam
|
61b770c5a7
|
Add ContactsManager::after_get_difference.
GitOrigin-RevId: 9fdea971dd5320da59b0aaeba45bff0c3ea2fc0e
|
2018-12-12 06:00:11 +03:00 |
|
levlam
|
0eff518c4e
|
Add StickersManager::after_get_difference.
GitOrigin-RevId: ba5502e640aa704267c97b7b995405375134547b
|
2018-12-12 05:55:08 +03:00 |
|
levlam
|
ca71a74e82
|
Add AnimationsManager::after_get_difference.
GitOrigin-RevId: 922833b018cee48ff08ff98c98dc325a2d4e2d2f
|
2018-12-12 05:47:20 +03:00 |
|
levlam
|
95db580cd3
|
Fix calls to before_get_difference.
GitOrigin-RevId: 936f232a2e5300fcbf3c4e9c9e235a303fe59fe4
|
2018-12-04 15:50:57 +03:00 |
|
levlam
|
3e843ece57
|
Fix order of chats with pending last message.
GitOrigin-RevId: 53496e0f5e3d48f69c5fe8692283a81a5011cc60
|
2018-12-02 20:47:39 +03:00 |
|
levlam
|
989b984455
|
Delay notification updates during getDifference and fix bugs.
GitOrigin-RevId: 05f5921a195a9b90b50773ce701ea115cc19e5c8
|
2018-11-22 04:00:28 +03:00 |
|
levlam
|
68f477d71e
|
Add more getDifference logging.
GitOrigin-RevId: 047ed590512ec3f97c90d08d2cd709d7e4948519
|
2018-11-21 17:14:35 +03:00 |
|
levlam
|
64c7362fd8
|
Calculate was_online_local/was_online_remote.
GitOrigin-RevId: 774c9172e2274f998daf244dcb8bfdea7c4c2448
|
2018-11-16 01:48:56 +03:00 |
|
levlam
|
6fc90bb699
|
Add VLOG get_difference.
GitOrigin-RevId: afd6834f83c455d613949b59f65a3ef0ffed8cf4
|
2018-11-15 20:25:54 +03:00 |
|
levlam
|
95ff033aae
|
Silence 401th error for ordinary users.
GitOrigin-RevId: 3a371adef8cfc50609a9320c43a0c8cf5d9dd403
|
2018-11-07 21:26:21 +03:00 |
|
levlam
|
bc88b8e951
|
StringBuilder fixes.
GitOrigin-RevId: 1836df5f6931ca94e96e7281eeb1090163d8648f
|
2018-10-30 17:22:44 +03:00 |
|
levlam
|
2540555ae5
|
Remove source from get_my_id.
GitOrigin-RevId: 623c24323b55937866841c4b0f32b109c513983b
|
2018-10-08 17:21:56 +03:00 |
|
levlam
|
e819a0ed56
|
Support for language pack updatimg. td_api::updateLanguagePack.
GitOrigin-RevId: edc3bf65914b73d168d33eea38ff05cc2efd80ec
|
2018-07-17 05:58:34 +03:00 |
|
levlam
|
aa13a57a3c
|
Update layer to 82. Contact.vcard support.
GitOrigin-RevId: 302d65351cfaeb6b4e82c594565ab1aef18b2a42
|
2018-06-26 00:10:53 +03:00 |
|
levlam
|
97e6e99eaf
|
Allow smaller pts decrease.
GitOrigin-RevId: 31e2429ec98b9d64eb5d38b07a9a356b038cf94f
|
2018-06-23 02:19:22 +03:00 |
|
levlam
|
0bfe50a7b7
|
Strong typing for passport data.
GitOrigin-RevId: 766b671c97d8deb1e32bbfb4972c5a59a67f8435
|
2018-04-11 17:21:24 +03:00 |
|
levlam
|
d7d91bbaf3
|
Update layer 78: new notification settings API.
GitOrigin-RevId: affa0a97035b69e2f710b289f300139e7b41d116
|
2018-04-09 19:30:27 +03:00 |
|
Arseny Smirnov
|
fb79d6f95a
|
Layer 78. Initial Telegram Passport support.
GitOrigin-RevId: 197994bcf62a76cd963f32a8dd7f5951d7b6588b
|
2018-03-27 16:11:15 +03:00 |
|
levlam
|
72515a4459
|
Fix replacing of unacceptable update with updateChannelTooLong.
GitOrigin-RevId: a82f6e6e9e828183aa10690ebe32b983f7433ed4
|
2018-04-04 23:03:35 +03:00 |
|
levlam
|
52f45abf65
|
Handle chatAction timeouts.
GitOrigin-RevId: acd087bf97f6ff39af8111b1c8d984f72f041467
|
2018-03-13 20:48:08 +03:00 |
|
levlam
|
8eaea5d4af
|
Send updateUserChatAction from on_user_dialog_action.
GitOrigin-RevId: 6af5402efa9ac21b9054278c839d982b4fbdcb6e
|
2018-03-13 11:57:58 +03:00 |
|
levlam
|
fc7c618782
|
Return Chat in joinChatByInviteLink.
GitOrigin-RevId: ee8ad4f0de5001bad6519ab5f109ebb0f458f93a
|
2018-03-01 01:08:45 +03:00 |
|
levlam
|
d1f1a14a37
|
Update layer to 76: add messageWebsiteConnected.
GitOrigin-RevId: 8cb5128a7d7eac2afe0622fc901392bf318fa460
|
2018-02-22 03:36:40 +03:00 |
|
levlam
|
f4069240e5
|
Periodically ping server by bots.
GitOrigin-RevId: 3e173e32d564f50c352b96a6ad2d04b7ec72af58
|
2018-02-11 21:33:32 +03:00 |
|
levlam
|
be5d7a7059
|
Add warning when date is greater than known server time.
GitOrigin-RevId: 365fe5f127671336a633a2ca8fab10e3ea313e2b
|
2018-02-11 20:21:18 +03:00 |
|
levlam
|
35d039f42f
|
Add some debug logginh.
GitOrigin-RevId: 462cf5c2f80f708ae2494b037538241f31d08ca3
|
2018-02-03 18:41:10 +03:00 |
|
levlam
|
5cecb37e8b
|
Fix migrated_to_channel preloading.
GitOrigin-RevId: d87246857b4a6e7d429e8e9dd835ca0678f44a2d
|
2018-02-03 02:48:50 +03:00 |
|
levlam
|
a9ed429205
|
Add source to get_*_id_object.
GitOrigin-RevId: 4d3016274a22be4a59ee088ad6f3d9c297128a08
|
2018-02-03 02:05:11 +03:00 |
|
levlam
|
dc274ea3b5
|
Send update with an empty User for unknown users.
GitOrigin-RevId: 470184a7277bbce3855ecad8acf955369370ff76
|
2018-01-26 22:53:20 +03:00 |
|
levlam
|
5cbda834bd
|
Update copyright year.
GitOrigin-RevId: 1369d3af1195221f6ddb9462d5f8b74fb5fef20f
|
2018-01-02 16:45:09 +03:00 |
|
Arseny Smirnov
|
71d03f39c3
|
Project import generated by Copybara.
GitOrigin-RevId: 318483224ad6164d9966f731d60cde37039bb2d4
|
2017-12-31 23:08:40 +03:00 |
|