levlam
|
a0990ef2fd
|
Various fixes.
|
2023-08-15 17:45:16 +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
|
f0e59da1ff
|
Process blocked_my_stories_from flags.
|
2023-07-28 16:19:05 +03:00 |
|
levlam
|
1022cc6439
|
Update layer to 161.
|
2023-07-21 15:41:44 +03:00 |
|
levlam
|
9dcfd9d66d
|
Add ReactionManager and move there all reaction-related methods from StickersManager.
|
2023-08-09 12:59:48 +03:00 |
|
levlam
|
564cbc0345
|
Don't log updates with slightly old PTS short after updates with very old PTS.
|
2023-07-29 15:37:15 +03:00 |
|
levlam
|
5ba7e14be0
|
Improve logging for PTS gaps.
|
2023-07-28 18:10:24 +03:00 |
|
levlam
|
56adf14116
|
Improve PTS gap repair.
|
2023-07-26 22:04:57 +03:00 |
|
levlam
|
a231b96a7b
|
Improve PTS gap logging.
|
2023-07-25 14:24:44 +03:00 |
|
levlam
|
8893dc808f
|
Ignore getDifference responses with invalid polls.
|
2023-07-24 19:42:09 +03:00 |
|
levlam
|
102222e64f
|
Add source to on_update_channel_max_unavailable_message_id.
|
2023-07-22 22:40:26 +03:00 |
|
levlam
|
ac1295496c
|
Unify stack traces for on_get_updates calls.
|
2023-07-20 21:03:05 +03:00 |
|
levlam
|
a3e277f7c0
|
Add source to get_user_force.
|
2023-07-20 20:38:25 +03:00 |
|
levlam
|
aa0b217a18
|
Fix call to set_pts.
|
2023-07-13 19:17:16 +03:00 |
|
levlam
|
6ece751ccd
|
Fix warning.
|
2023-07-13 18:15:06 +03:00 |
|
levlam
|
1669f8d4b8
|
Init sessions if there are multiple sessions.
|
2023-07-12 21:08:01 +03:00 |
|
levlam
|
07ece1faea
|
Improve PTS restore even more.
|
2023-07-11 16:20:35 +03:00 |
|
levlam
|
6b376a71e8
|
Improve updatePtsChanged handling by using getDifference instead of getState, which allows to get all pending updates.
|
2023-07-11 16:10:56 +03:00 |
|
levlam
|
00a6271edb
|
Restore PTS after overflow.
|
2023-07-11 15:50:50 +03:00 |
|
levlam
|
6217e8c8f2
|
Don't drop state on updatePtsChanged.
|
2023-07-11 15:23:35 +03:00 |
|
levlam
|
288666c1fe
|
Load all read stories from time to time.
|
2023-07-07 17:41:30 +03:00 |
|
levlam
|
25c73f32f5
|
Reload active story lists by timeout.
|
2023-07-06 18:22:20 +03:00 |
|
levlam
|
312006a207
|
Various fixes.
|
2023-07-01 19:54:22 +03:00 |
|
levlam
|
7a7d62fd44
|
Fix misprint.
|
2023-07-01 19:13:17 +03:00 |
|
levlam
|
2bf47d0809
|
Minor fixes.
|
2023-07-01 16:22:01 +03:00 |
|
levlam
|
bcf9ff7d43
|
Explicitly include telegram_api.h in cpp files.
|
2023-07-01 14:53:04 +03:00 |
|
levlam
|
3a3ae9eabf
|
Explicitly pass Td to Location constructor and don't register locations for bots.
|
2023-06-28 19:01:00 +03:00 |
|
levlam
|
c3c8af9104
|
Correctly initialize boolean fields in messages from short updates.
|
2023-06-23 16:49:26 +03:00 |
|
levlam
|
56df91b265
|
Support updateReadStories.
|
2023-06-15 13:16:31 +03:00 |
|
levlam
|
2467633a74
|
Support replies to stories in UpdatesManager::is_acceptable_message_reply_header.
|
2023-06-05 19:29:38 +03:00 |
|
levlam
|
eec9826dec
|
Process telegram_api::updateStory updates.
|
2023-06-01 16:27:00 +03:00 |
|
levlam
|
a05940b705
|
Make PrivacyManager an ordinary manager.
|
2023-05-08 15:23:57 +03:00 |
|
levlam
|
65e01ad063
|
Ignore errors when processing telegram_api::PrivacyRule.
|
2023-05-08 14:54:57 +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
|
da813f3ee9
|
Support updates.difference in on_get_pts_update.
|
2023-04-27 22:47:45 +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
|
61e8e863d9
|
Update comment about recent voters.
|
2023-04-27 14:34:52 +03:00 |
|
levlam
|
38efb6d673
|
Support MessageSenders as poll voters.
|
2023-04-25 16:41:04 +03:00 |
|
levlam
|
48d72677d3
|
Update layer to 159.
|
2023-04-25 14:27:58 +03:00 |
|
levlam
|
432ee4c2c4
|
Remove now redundant parameters have_previous/have_next from add_message_to_dialog.
|
2023-05-11 20:27:00 +03:00 |
|
levlam
|
5ad95e78bf
|
Improve variable names.
|
2023-04-25 16:51:08 +03:00 |
|
levlam
|
a21b49ddfd
|
Avoid rare PTS getDifference after logging in.
|
2023-04-12 12:06:28 +03:00 |
|
levlam
|
e50e3e0b3a
|
Add updateChatMember.via_chat_filter_invite_link.
|
2023-04-02 23:45:27 +03:00 |
|
levlam
|
7085bc4d8f
|
Pass promise to on_update_dialog_filters.
|
2023-04-02 11:53:25 +03:00 |
|
levlam
|
f4daa4b61a
|
Move dialog filter list to DialogFilterManager.
|
2023-03-27 17:44:13 +03:00 |
|
levlam
|
a45d2de881
|
Update layer to 158.
|
2023-03-21 14:11:43 +03:00 |
|
levlam
|
23c8ef2f63
|
Return error 404 from addApplicationChangelog if nothing was added.
|
2023-03-23 16:53:11 +03:00 |
|
levlam
|
367d3eaa2b
|
Move ignore_background_updates() to Td.
|
2023-03-13 21:13:59 +03:00 |
|
levlam
|
f1311610e5
|
Remove unneeded TdParameters.h includes.
|
2023-03-13 20:10:18 +03:00 |
|
levlam
|
835ee52491
|
Make TdParameters private in Global.
|
2023-03-13 19:47:38 +03:00 |
|
levlam
|
a49e63985d
|
Send updateAddChatMembersPrivacyForbidden after successful request response.
|
2023-03-06 21:42:06 +03:00 |
|
levlam
|
23341647ba
|
Support null updates in get_update_ids.
|
2023-03-06 21:01:00 +03:00 |
|
levlam
|
e7242b1188
|
Fix includes.
|
2023-03-06 20:36:56 +03:00 |
|
levlam
|
97248f1432
|
Send td_api::updateAddChatMembersPrivacyForbidden after failed adding of a user to a basic group.
|
2023-03-03 15:43:14 +03:00 |
|
levlam
|
b45d56d116
|
Add updateAddChatMembersPrivacyForbidden.
|
2023-03-03 14:42:30 +03:00 |
|
levlam
|
dff135fa6c
|
Allow truncated links in updates and event log.
|
2023-03-03 04:23:46 +03:00 |
|
levlam
|
f6615189af
|
Update layer to 154.
|
2023-02-07 14:01:45 +03:00 |
|
levlam
|
22fdc0258b
|
Use "receive"/"have"/"loaded" instead of "got" and other log message improvements.
|
2023-02-26 14:22:31 +03:00 |
|
levlam
|
1e6c3ef93d
|
Don't try to reload data mutiple times without network.
|
2023-02-06 20:31:17 +03:00 |
|
levlam
|
d4833b7844
|
Reload autosave settings periodically.
|
2023-02-06 20:10:27 +03:00 |
|
levlam
|
2260944afe
|
Save autosave settings to database.
|
2023-02-06 19:53:21 +03:00 |
|
levlam
|
7556ef4b18
|
Support telegram_api::updateAutoSaveSettings.
|
2023-02-03 16:08:44 +03:00 |
|
levlam
|
7596600548
|
Reload default chat photo custom emoji identifiers.
|
2023-02-01 02:35:57 +03:00 |
|
levlam
|
47fd88b33f
|
Add and use "since_last_open" internal option.
|
2023-01-30 01:29:33 +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
|
ac0de06b5f
|
Ensure that PTS/QTS updates are null after processing.
|
2023-01-09 13:27:28 +03:00 |
|
levlam
|
9834594b16
|
Don't send parallel ping-server requests.
|
2023-01-03 15:32:10 +03:00 |
|
levlam
|
5711c6c8eb
|
Add some emptiness checks.
|
2023-01-02 20:12:15 +03:00 |
|
levlam
|
903d994799
|
Improve punctuation.
|
2023-01-02 15:38:04 +03:00 |
|
levlam
|
cf1984844b
|
Update copyright year.
|
2023-01-01 00:28:08 +03:00 |
|
levlam
|
3422ab1082
|
Process updates about pinned forum topics.
|
2022-12-30 01:06:05 +03:00 |
|
levlam
|
996efb73fe
|
Improve handling of telegram_api::updateUser.
|
2022-12-26 13:23:05 +03:00 |
|
levlam
|
8e7d5f5594
|
Update layer to 151.
|
2022-12-08 20:58:37 +03:00 |
|
levlam
|
2afe1fc6ce
|
Drop pending updates with too big PTS after getDifference.
|
2022-12-20 12:42:03 +03:00 |
|
levlam
|
f1eedfaa47
|
Simplify some usages of optional TL fields.
|
2022-12-18 22:15:57 +03:00 |
|
levlam
|
f97c103e2b
|
Update last read inbox/outbox message identifiers in topics.
|
2022-12-14 14:25:04 +03:00 |
|
levlam
|
0e33195953
|
Move static get_message_id/get_message_dialog_id to corresponding classes.
|
2022-12-12 21:43:49 +03:00 |
|
levlam
|
d2060a2eb3
|
Improve log messages with time.
|
2022-12-11 01:32:46 +03:00 |
|
levlam
|
8917b9c845
|
Support updates about forum topic notification settings.
|
2022-12-06 16:48:32 +03:00 |
|
levlam
|
70cfbab277
|
Extract only relevant random_id from updates.
|
2022-12-02 12:36:31 +03:00 |
|
levlam
|
f8a5f42886
|
Improve return value of UpdatesManager::get_new_messages.
|
2022-12-02 12:11:07 +03:00 |
|
levlam
|
fff8e81261
|
Don't return SetMessagesTTL messages in get_new_messages.
|
2022-12-01 23:44:58 +03:00 |
|
levlam
|
62e721fa6f
|
Add messageChatSetTtl.from_user_id.
|
2022-11-29 14:02:05 +03:00 |
|
levlam
|
47c8d957a1
|
Update layer to 149.
|
2022-11-10 20:27:09 +03:00 |
|
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 |
|