levlam
|
52d605ed4d
|
Add MessagesManager::create_message_forward_info.
|
2021-08-31 19:12:24 +03:00 |
|
levlam
|
dec26260d3
|
Add const MessagesManager::create_message_to_send.
|
2021-08-31 17:26:51 +03:00 |
|
levlam
|
f6fc10ab22
|
Add updateChatTheme.
|
2021-08-27 20:36:40 +03:00 |
|
levlam
|
abcfe46275
|
Fix MessageContentType::ChatSetTheme support.
|
2021-08-27 19:29:58 +03:00 |
|
levlam
|
c20fd1dd91
|
Add td_api::setChatTheme.
|
2021-08-27 19:23:22 +03:00 |
|
levlam
|
532a0f4502
|
Add td_api::pushMessageContentChatChangeTheme.
|
2021-08-27 16:38:05 +03:00 |
|
levlam
|
83e55b6b56
|
Add td_api::getChatThemes.
|
2021-08-27 15:51:50 +03:00 |
|
levlam
|
3e77161e46
|
Don't replace main background type if appropriate.
|
2021-08-27 12:10:51 +03:00 |
|
levlam
|
021474e8be
|
Add chatEventThemeChanged.
|
2021-08-27 11:53:50 +03:00 |
|
levlam
|
e3f55a71cd
|
Add td_api::viewSponsoredMessage.
|
2021-08-25 22:34:18 +03:00 |
|
levlam
|
658d172256
|
Improve method name.
|
2021-08-25 20:29:14 +03:00 |
|
levlam
|
723b203c7d
|
Add td_api::getSponsoredMessages.
|
2021-08-24 23:44:47 +03:00 |
|
levlam
|
1e663dea46
|
Add group_call.is_video_recorded.
|
2021-08-24 17:49:08 +03:00 |
|
levlam
|
5cfabdd589
|
Add chat.theme_name.
|
2021-08-23 18:47:32 +03:00 |
|
levlam
|
b56119951b
|
Support video streaming in group calls.
|
2021-08-23 16:59:00 +03:00 |
|
levlam
|
2045c131a9
|
Support video recording in group calls.
|
2021-08-23 15:29:03 +03:00 |
|
levlam
|
d61b1d9348
|
Add chatActionChoosingSticker.
|
2021-08-19 22:43:38 +03:00 |
|
levlam
|
31a4a97ec1
|
Add messageChatSetTheme.
|
2021-08-18 16:03:10 +03:00 |
|
levlam
|
b4dc516b44
|
Add unread_count to MessageThreadInfo.
|
2021-08-13 18:24:00 +03:00 |
|
levlam
|
84be6f4485
|
Update layer to 132.
|
2021-08-12 21:15:08 +03:00 |
|
levlam
|
43d837df4e
|
Call MessagesManager::on_load_folder_dialog_list_fail only once.
|
2021-08-12 16:33:39 +03:00 |
|
levlam
|
d9aa50e1be
|
Use get_dialogs_from_list instead of get_dialogs.
|
2021-08-12 15:16:13 +03:00 |
|
levlam
|
307344da1c
|
Remove promise from load_folder_dialog_list.
|
2021-08-11 16:32:00 +03:00 |
|
levlam
|
d49fdf3261
|
Remove offset from getChats and respect app-specified limit.
|
2021-08-11 15:59:09 +03:00 |
|
levlam
|
c35321b98e
|
Add loadChats method.
|
2021-08-10 17:52:31 +03:00 |
|
levlam
|
086ec3d2e5
|
Add td_api::getPhoneNumberInfoSync.
|
2021-08-30 22:26:02 +03:00 |
|
levlam
|
a68402719c
|
Improve logging for secret chats.
|
2021-08-30 19:28:54 +03:00 |
|
levlam
|
8699d0aadb
|
Make country information static.
|
2021-08-30 19:20:40 +03:00 |
|
levlam
|
44556b3309
|
Add CountryInfoManager::get_phone_number_info_object.
|
2021-08-30 17:51:09 +03:00 |
|
levlam
|
c5a2105b61
|
Improve getPhoneNumberInfo.
|
2021-08-30 17:11:45 +03:00 |
|
levlam
|
788c13f834
|
Update built-in list of countries.
|
2021-08-29 18:03:26 +03:00 |
|
levlam
|
aaff89a6c3
|
Make get_document_object methods const.
|
2021-08-28 14:16:29 +03:00 |
|
levlam
|
97fccf7f27
|
Fix identityDocument.reverse_side description.
|
2021-08-27 00:36:03 +03:00 |
|
levlam
|
b1eb6db7b5
|
Minor logging improvements.
|
2021-08-26 21:44:29 +03:00 |
|
levlam
|
209dd8b41b
|
Don't drop fully uploaded partial secure location.
|
2021-08-26 21:20:55 +03:00 |
|
levlam
|
897a4e26a7
|
Allow RemoteFileLocation logging.
|
2021-08-26 20:34:51 +03:00 |
|
levlam
|
cf7c14fb59
|
Remove unneeded document.is_changed.
|
2021-08-26 18:50:28 +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
|
fcfbb38f63
|
Fix MessageId::is_valid_scheduled.
|
2021-08-25 11:29:57 +03:00 |
|
levlam
|
8559392f6f
|
Fix Dialog pts in run_after_channel_difference.
|
2021-08-25 11:21:17 +03:00 |
|
levlam
|
628648cd6c
|
Use set_dialog_last_pinned_message_id instead of on_update_dialog_last_pinned_message_id.
|
2021-08-25 11:09:24 +03:00 |
|
levlam
|
dbdf69d076
|
Simplify on_update_dialog_last_pinned_message_id.
|
2021-08-25 11:03:07 +03:00 |
|
levlam
|
bba085318e
|
Return BackgroundType from on_get_background.
|
2021-08-24 17:13:51 +03:00 |
|
levlam
|
8e7eba4f8c
|
Reload ChannelFull in get_channel_statistics_dc_id.
|
2021-08-23 11:59:37 +03:00 |
|
levlam
|
828e1e22a0
|
Skip unneeded getFullChannel requests.
|
2021-08-23 11:10:46 +03:00 |
|
levlam
|
3749e1f672
|
Add warning for very old updates.
|
2021-08-23 00:08:05 +03:00 |
|
levlam
|
6507fb7602
|
Use array-based MessageIdDuplicateChecker.
|
2021-08-22 22:08:46 +03:00 |
|
levlam
|
b3aa31d398
|
Minor cut_tail improvements.
|
2021-08-22 13:36:47 +03:00 |
|
levlam
|
4a3f56e6c1
|
Check that updates aren't received in rpc_result.
|
2021-08-22 13:23:21 +03:00 |
|
levlam
|
7faf7aeba7
|
Improve logging on too old update.
|
2021-08-22 13:16:10 +03:00 |
|
levlam
|
d154399d70
|
Optimize MessageIdDuplicateChecker::check.
|
2021-08-21 22:41:06 +03:00 |
|
levlam
|
43d9ba81ac
|
Prefer std::unordered_map to std::map.
|
2021-08-21 21:42:07 +03:00 |
|
levlam
|
d229c5daed
|
Fix handling of empty permissions in chatMemberStatusRestricted.
|
2021-08-21 19:57:01 +03:00 |
|
levlam
|
1a2faf5ae6
|
Add feedback_link to WebPageInstantView.
|
2021-08-21 10:22:41 +03:00 |
|
levlam
|
6393923d3a
|
Make internalLinkTypeUnknownDeepLink self-contained.
|
2021-08-20 20:56:07 +03:00 |
|
levlam
|
df11403739
|
Make internalLinkTypeMessage self-contained.
|
2021-08-20 20:27:39 +03:00 |
|
levlam
|
618742acc2
|
Make internalLinkTypeChatInvite self-contained.
|
2021-08-20 18:44:02 +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
|
0f50f7a0f4
|
Ensure that channel Dialog exists before setting retry timeout.
|
2021-08-19 08:57:01 +03:00 |
|
levlam
|
5c2441021e
|
Add fast path in remove_invalid_entities.
|
2021-08-18 21:37:31 +03:00 |
|
levlam
|
ca9dd55141
|
Improve documentation.
|
2021-08-18 21:08:51 +03:00 |
|
levlam
|
23f5c52ad9
|
Support applying multiple postponed updates at once.
|
2021-08-18 17:40:28 +03:00 |
|
levlam
|
2eaa026bb7
|
Increase number of stored recently found chats.
|
2021-08-17 18:11:32 +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
|
d161323858
|
Add delay before reading history on server in non-joined channels with wrong server_unread_count.
|
2021-08-15 14:46:19 +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
|
7cb54fddb9
|
Improve some internal link documentation.
|
2021-08-14 22:25:53 +03:00 |
|
levlam
|
957150a59c
|
Add space before supeflous phone number digits.
|
2021-08-13 21:06:54 +03:00 |
|
levlam
|
e62655efdf
|
Add message.has_timestamped_media.
|
2021-08-13 14:49:24 +03:00 |
|
levlam
|
1885d232a9
|
Add parameter is_message_in_dialog to update_message.
|
2021-08-13 13:36:07 +03:00 |
|
levlam
|
4b06cb9f08
|
Avoid reply and bot commands registration for messages not in Dialog.
|
2021-08-13 13:19:58 +03:00 |
|
levlam
|
a59a916f21
|
Fix MessageEntity constructors.
|
2021-08-13 13:10:54 +03:00 |
|
levlam
|
ec55ca1d5c
|
Improve logging.
|
2021-08-13 13:03:55 +03:00 |
|
levlam
|
bff8f7550f
|
Return MessageThreadInfo from GetDiscussionMessageQuery.
|
2021-08-13 12:26:47 +03:00 |
|
levlam
|
05c9934074
|
Add MessageThreadInfo.h.
|
2021-08-12 22:00:27 +03:00 |
|
levlam
|
45790b144c
|
Fix ChannelFull dependencies.
|
2021-08-11 16:52:34 +03:00 |
|
levlam
|
394e3450de
|
Send updateMessageContent only for message known to the app.
|
2021-08-10 16:18:08 +03:00 |
|
levlam
|
bed3448fe1
|
Don't store server-generated message links.
|
2021-08-10 15:58:39 +03:00 |
|
levlam
|
db9db0eff1
|
Improve for_group flag in media timestamp links.
|
2021-08-09 20:47:03 +03:00 |
|
levlam
|
4b631b16bf
|
Find MediaTimestamp entities in old messages.
|
2021-08-09 19:37:47 +03:00 |
|
levlam
|
0c3a9aebd8
|
Fix CHECK.
|
2021-08-09 17:48:57 +03:00 |
|
levlam
|
2098f10441
|
Store media_timestamp in a separate field.
|
2021-08-06 09:14:52 +03:00 |
|
levlam
|
eee773901c
|
Update max_reply_media_timestamp in replies when needed.
|
2021-08-06 05:55:43 +03:00 |
|
levlam
|
40d953ba20
|
Init max media timestamps for scheduled messages.
|
2021-08-05 10:41:13 +03:00 |
|
levlam
|
0e6584db87
|
Send updateChatLastMessage if content of the last yyet unsent message changes.
|
2021-08-05 10:13:06 +03:00 |
|
levlam
|
4ae305d8c4
|
Update max_media_timestamp when message content is changed.
|
2021-08-05 09:59:43 +03:00 |
|
levlam
|
2605cd374b
|
Add has_media_timestamps.
|
2021-08-05 05:41:24 +03:00 |
|
levlam
|
9653cc9e3e
|
Add separate get_message_content_media_duration.
|
2021-08-05 02:09:04 +03:00 |
|
levlam
|
da3b8f93a0
|
Hide too big media timestamps.
|
2021-08-04 09:28:53 +03:00 |
|
levlam
|
304280df69
|
Add message.can_get_media_timestamp_links.
|
2021-08-04 07:57:27 +03:00 |
|
levlam
|
45bf232417
|
Fimd media timestamp entities in find_entities.
|
2021-08-04 04:26:41 +03:00 |
|
levlam
|
14cf908017
|
Implement find_media_timestamps.
|
2021-07-28 08:30:22 +03:00 |
|
levlam
|
bdbf4db9ff
|
Move fix_entity_offsets to a separate function.
|
2021-07-28 06:48:52 +03:00 |
|
levlam
|
389e92f1f4
|
Add skip_media_timestamps parameter to get_formatted_text.
|
2021-07-26 22:48:33 +03:00 |
|
levlam
|
ab71d6a200
|
Add textEntityTypeMediaTimestamp.
|
2021-07-26 07:53:36 +03:00 |
|
levlam
|
6766eb81c3
|
Unify limit documentation.
|
2021-08-09 16:18:59 +03:00 |
|
levlam
|
5c0fb88742
|
Move GetDeepLinkInfoQuery to LinkManager.
|
2021-08-08 11:26:51 +03:00 |
|
levlam
|
a4b35648ae
|
Remove stickers_emoji_cache_time key from appConfig.
|
2021-08-08 11:14:26 +03:00 |
|
levlam
|
3c7cf84216
|
Don't call ExportChannelMessageLinkQuery for bots.
|
2021-08-07 09:10:28 +03:00 |
|
levlam
|
6c3294684c
|
Fix parsing of PhotoSizeSource::FullLegacy.
|
2021-08-07 08:46:56 +03:00 |
|
levlam
|
5a8f8fbe82
|
Support awaited updates with promise in process_get_channel_difference_updates.
|
2021-08-06 07:07:03 +03:00 |
|
levlam
|
2f5020ad02
|
Improve logging.
|
2021-08-06 06:54:44 +03:00 |
|
levlam
|
86c6115d49
|
Faster switching back from getDifference to updates.
|
2021-08-05 21:29:40 +03:00 |
|
levlam
|
5b4a657228
|
Minor include fixes.
|
2021-08-05 01:09:39 +03:00 |
|
levlam
|
126fe070dc
|
Remove unused secure_storage::EncryptedFile class.
|
2021-08-04 05:09:24 +03:00 |
|
levlam
|
d985e3cc84
|
Use preincrement for iterators.
|
2021-08-04 03:43:48 +03:00 |
|
levlam
|
f8ab675ad1
|
Better condition to skip merge of GIF and MP4 animations.
|
2021-08-03 03:13:56 +03:00 |
|
levlam
|
13d5854e2f
|
Update match_cashtags.
|
2021-08-03 02:58:12 +03:00 |
|
levlam
|
0dc42e4410
|
Add source to get_message_sender_object.
|
2021-08-03 01:58:02 +03:00 |
|
levlam
|
48ce26b6c2
|
Improve source in get_dimensions.
|
2021-08-03 01:57:46 +03:00 |
|
levlam
|
9e7bce1b06
|
Don't warn about sent message ID decrease after message ID overflow.
|
2021-08-02 07:21:36 +03:00 |
|
levlam
|
aba7118679
|
Improve logging.
|
2021-08-02 06:38:18 +03:00 |
|
levlam
|
3b125ce511
|
Don't try to get full channel if it is inaccessible.
|
2021-08-02 06:20:59 +03:00 |
|
levlam
|
d1b985430c
|
Add source to ContactsManager::load_user_full.
|
2021-08-02 06:14:59 +03:00 |
|
levlam
|
34e9dc11d6
|
Init message_ttl_setting in all writable chats.
|
2021-08-02 06:07:38 +03:00 |
|
levlam
|
6ef446c642
|
Postpone updates in unknown channels with running getDifference.
|
2021-08-02 05:52:47 +03:00 |
|
levlam
|
3156492c2f
|
Add source to ContactsManager::load_channel_full.
|
2021-08-02 05:50:52 +03:00 |
|
levlam
|
1299bc67d4
|
Load at most 10 messages from the server to repair last message ID if there is no database.
|
2021-08-02 04:19:19 +03:00 |
|
levlam
|
b02c9a3627
|
Get history after channelDifference, only if this is still needed after processing postponed responses.
|
2021-08-02 04:04:32 +03:00 |
|
levlam
|
9e3ad28d09
|
Allow video notes without sound and prevent their creation.
|
2021-08-01 07:40:57 +03:00 |
|
levlam
|
a4e1839089
|
Generate only needed telegram_api full constructors.
|
2021-08-01 07:23:50 +03:00 |
|
levlam
|
1223c72741
|
Add class EncryptedFile.
|
2021-08-01 06:17:51 +03:00 |
|
levlam
|
966e8b1311
|
Simpler empty class creation.
|
2021-07-31 09:52:23 +03:00 |
|
levlam
|
8398a6f19d
|
Remove more default constructors of telegram_api classes.
|
2021-07-31 09:21:12 +03:00 |
|
levlam
|
efa770ce73
|
Remove usage of the default account.passwordInputSettings constructor.
|
2021-07-31 09:06:43 +03:00 |
|
levlam
|
cbb496675d
|
Check that new messages received in the correct order in channelDifference.
|
2021-07-31 08:18:19 +03:00 |
|
levlam
|
09cab2b846
|
Apply awaited sent messages before they are deleted.
|
2021-07-31 08:07:26 +03:00 |
|
levlam
|
3e2d900e29
|
Check validness of updates in channelDifference.
|
2021-07-31 05:18:59 +03:00 |
|
levlam
|
11c3a16353
|
Check update type once in process_get_channel_difference_updates.
|
2021-07-31 04:55:05 +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
|
e1b756a437
|
Document new allowed month TTL period.
|
2021-07-30 19:18:24 +03:00 |
|
levlam
|
5171d793d0
|
Don't set have_next to true if all next messages were deleted.
|
2021-07-30 17:50:28 +03:00 |
|