levlam
|
2ec2e4d78f
|
Use "set"/"toogle" instead of "change".
|
2021-09-24 10:42:39 +03:00 |
|
levlam
|
e212d1293d
|
Send stats.getMessagePublicForwards to the correct DC.
|
2021-09-24 09:07:38 +03:00 |
|
levlam
|
bc4058b8be
|
Add and use MessagesManager::get_channel_differences_if_needed.
|
2021-09-23 23:34:55 +03:00 |
|
levlam
|
910f60c145
|
Use Promise instead of RequestActor in getMessagePublicForwards.
|
2021-09-23 22:56:38 +03:00 |
|
levlam
|
fbd2309b37
|
Don't remove emoji modifiers in chat action emojis.
|
2021-09-23 17:16:59 +03:00 |
|
levlam
|
d04aed1146
|
Fix CHECK.
|
2021-09-19 20:20:58 +03:00 |
|
levlam
|
3883ffcc75
|
Check emoji in incoming chatActionEnjoyingAnimations.
|
2021-09-19 01:52:56 +03:00 |
|
levlam
|
db18baa503
|
Unify include order.
|
2021-09-19 00:47:05 +03:00 |
|
levlam
|
551103a084
|
Send updateAnimatedEmojiMessageClicked only in opened chats.
|
2021-09-18 21:26:22 +03:00 |
|
levlam
|
5de53e09eb
|
Add updateAnimatedEmojiMessageClicked.
|
2021-09-17 15:51:42 +03:00 |
|
levlam
|
5fd11e4b7a
|
Add td_api::clickAnimatedEmojiMessage.
|
2021-09-16 00:41:40 +03:00 |
|
levlam
|
02ae56ae8a
|
Improve validness checks for UserId/ChatId/ChannelId.
|
2021-09-14 17:09:40 +03:00 |
|
levlam
|
f197d61c66
|
Support message viewers-related config options.
|
2021-09-03 19:06:24 +03:00 |
|
levlam
|
623633bb35
|
Add flag message.can_get_viewers.
|
2021-09-03 16:45:28 +03:00 |
|
levlam
|
a4f66c69cb
|
Add td_api::getMessageViewers.
|
2021-09-03 16:14:03 +03:00 |
|
levlam
|
41c391f140
|
Update layer to 133.
|
2021-09-03 12:27:59 +03:00 |
|
levlam
|
d3e8029533
|
Delete unneded refs from set_typing_query_.
|
2021-09-17 12:33:59 +03:00 |
|
levlam
|
3cd1489eab
|
Simplify discussed message preloading.
|
2021-09-16 17:32:51 +03:00 |
|
levlam
|
48f623f132
|
Simpler and faster have_message_force.
|
2021-09-16 17:28:33 +03:00 |
|
levlam
|
418db412c4
|
Add CHECK debug.
|
2021-09-16 15:39:44 +03:00 |
|
levlam
|
96a9fb5f66
|
Fix delete_sent_message_from_server.
|
2021-09-16 15:18:31 +03:00 |
|
levlam
|
ded0b57905
|
Add td_api::getRecentlyOpenedChats.
|
2021-09-14 14:18:37 +03:00 |
|
levlam
|
27d4810cb1
|
Add check that message isn't nullptr.
|
2021-09-14 13:44:26 +03:00 |
|
levlam
|
77c8eb9617
|
Add promise to RecentDialogList::get_dialogs.
|
2021-09-13 20:52:17 +03:00 |
|
levlam
|
5bec536803
|
Add class RecentDialogList.
|
2021-09-13 20:34:57 +03:00 |
|
levlam
|
488e5699b7
|
Send updateDeleteMessages for failed to add just sent messages.
|
2021-09-12 21:55:03 +03:00 |
|
levlam
|
b274c7dc85
|
Fix input_peer checks in toggle_message_sender_is_blocked.
|
2021-09-12 20:48:35 +03:00 |
|
levlam
|
5dfd9ac9af
|
Disallow changing chat themes in group chats.
|
2021-09-11 23:24:46 +03:00 |
|
levlam
|
5c59a10418
|
Move game-related methods to GameManager.
|
2021-09-07 10:45:01 +03:00 |
|
levlam
|
0ec10947d5
|
Fix some misprints.
|
2021-09-06 13:58:40 +03:00 |
|
levlam
|
96ffd57881
|
Use Promise isntead of RequestOnceActor to get games high scores.
|
2021-09-05 10:54:20 +03:00 |
|
levlam
|
db4f963a68
|
Fix via_bot_user_id in game messages forwarded by the bot itself.
|
2021-09-02 22:21:26 +03:00 |
|
levlam
|
5a56ecea2a
|
Remove pessimizing std::move.
|
2021-09-02 11:28:50 +03:00 |
|
levlam
|
b1db807868
|
Add forwardMessages.only_preview.
|
2021-08-31 23:37:21 +03:00 |
|
levlam
|
23a4c2c8a8
|
Return Message objects from send_message/forward_messages.
|
2021-08-31 22:34:46 +03:00 |
|
levlam
|
548ab8d7ee
|
Add MessagesManager::get_forwarded_messages.
|
2021-08-31 20:39:32 +03:00 |
|
levlam
|
70a9d555a0
|
Split copied and forwarded new_media_album_ids just in case.
|
2021-08-31 20:09:00 +03:00 |
|
levlam
|
87e003916c
|
Add MessagesManager::fix_forwarded_message.
|
2021-08-31 19:42:37 +03:00 |
|
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
|
021474e8be
|
Add chatEventThemeChanged.
|
2021-08-27 11:53:50 +03:00 |
|
levlam
|
5cfabdd589
|
Add chat.theme_name.
|
2021-08-23 18:47:32 +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
|
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
|
0f50f7a0f4
|
Ensure that channel Dialog exists before setting retry timeout.
|
2021-08-19 08:57:01 +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
|
9a5872fe27
|
Use update receive time to calculate proper gap time.
|
2021-08-15 12:46:38 +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
|
bff8f7550f
|
Return MessageThreadInfo from GetDiscussionMessageQuery.
|
2021-08-13 12:26:47 +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
|
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
|
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
|
389e92f1f4
|
Add skip_media_timestamps parameter to get_formatted_text.
|
2021-07-26 22:48:33 +03:00 |
|
levlam
|
3c7cf84216
|
Don't call ExportChannelMessageLinkQuery for bots.
|
2021-08-07 09:10:28 +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
|
0dc42e4410
|
Add source to get_message_sender_object.
|
2021-08-03 01:58:02 +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
|
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
|
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
|
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
|
5171d793d0
|
Don't set have_next to true if all next messages were deleted.
|
2021-07-30 17:50:28 +03:00 |
|
levlam
|
93ac629a74
|
Save is_channel_difference_finished for uncreated dialogs.
|
2021-07-30 06:04:31 +03:00 |
|
levlam
|
77c20cd82f
|
Run channelDifference before messages can be added to the chat.
|
2021-07-30 05:58:24 +03:00 |
|
levlam
|
fba5f2fa04
|
Simplify on_get_history using that d != nullptr since 31 Aug 2016.
|
2021-07-30 05:40:13 +03:00 |
|
levlam
|
ed15c1078b
|
Apply postponed channel updates even Dialog wasn't created.
|
2021-07-30 04:56:39 +03:00 |
|
levlam
|
50052f63ef
|
Don't update message if edit_date decreased.
|
2021-07-30 04:49:04 +03:00 |
|
levlam
|
c2028aed4f
|
Add limit on maximum videoNote size.
|
2021-07-29 23:39:07 +03:00 |
|
levlam
|
f0333aa578
|
Postpone updates in unknown channel instead of dropping.
|
2021-07-29 21:43:03 +03:00 |
|
levlam
|
bc8544299b
|
Repeat getHistory request if some new server messages aren't received.
|
2021-07-29 06:07:11 +03:00 |
|
levlam
|
c1d69fcc32
|
Ensure that if Dialog is_empty, than we have_full_history.
|
2021-07-29 03:39:05 +03:00 |
|
levlam
|
c07562ed52
|
Repair last message after getChannelDifference if it is still unknown.
|
2021-07-29 03:32:08 +03:00 |
|
levlam
|
be53ea2e1c
|
Move retry_get_difference_timeout out of Dialog to allow retries for unknown dialogs.
|
2021-07-29 02:52:59 +03:00 |
|
levlam
|
d5a19f0a82
|
Don't add last new message in on_get_dialog if it is supposed to be added through get_channel_difference.
|
2021-07-29 02:42:53 +03:00 |
|
levlam
|
645973c0a3
|
Avoid channel dialog creation by new updates, which can't be applied anyway.
|
2021-07-29 02:04:28 +03:00 |
|
levlam
|
91f8bb48ac
|
Improve condition for channelDifference.
|
2021-07-27 01:46:22 +03:00 |
|
levlam
|
bc5efb771d
|
Improve can_message_content_have_media_timestamp.
|
2021-07-26 04:50:08 +03:00 |
|
levlam
|
20a98ad7c9
|
Support media_timestamp in getMessageLink.
|
2021-07-26 04:01:10 +03:00 |
|
levlam
|
bfa0973dec
|
Support media timestamp in message links.
|
2021-07-26 02:40:36 +03:00 |
|
levlam
|
8a745b3480
|
Add logging when identifier of being sent message decreases.
|
2021-07-25 05:05:48 +03:00 |
|
levlam
|
ecd92fa501
|
Fix removing from chat list empty chat.
|
2021-07-22 20:19:16 +03:00 |
|
levlam
|
562af8b4f6
|
Add more logging in unload_dialog.
|
2021-07-22 18:43:34 +03:00 |
|
levlam
|
4e27f67cd0
|
Ensure that ttl_expires_in is in a valid range.
|
2021-07-22 17:52:49 +03:00 |
|
levlam
|
aa71db8da1
|
Update message content when has_bots is changed.
|
2021-07-22 06:54:43 +03:00 |
|
levlam
|
ca480ecaf1
|
Simplify MessagesManager::send_update_message_content.
|
2021-07-22 05:53:39 +03:00 |
|
levlam
|
e0c9efc26b
|
Skip bot command entities if needed.
|
2021-07-22 05:39:16 +03:00 |
|
levlam
|
cf579c761a
|
Add Dialog.has_bots flag.
|
2021-07-22 04:10:40 +03:00 |
|
levlam
|
a393bc5f71
|
Don't send message history requests to database if no returned messages can be added.
|
2021-07-21 06:24:02 +03:00 |
|
levlam
|
bd9a03d7e8
|
Don't send message histor requests to database if have no first_database_message_id.
|
2021-07-21 06:16:30 +03:00 |
|
levlam
|
bf1c94ee0d
|
Reget message history from database if it is outdated.
|
2021-07-19 21:38:04 +03:00 |
|
levlam
|
3d84afbea8
|
Add get_history methods, which with Dialog as parameter.
|
2021-07-19 20:56:30 +03:00 |
|
levlam
|
4caf74a86f
|
Don't repair last message by getHistory in a chat created by new message.
|
2021-07-18 06:16:08 +03:00 |
|
levlam
|
345b4d3ba1
|
Improve error message.
|
2021-07-18 03:20:52 +03:00 |
|
levlam
|
576724f234
|
Don't fill gaps in non-joined never opened channels.
|
2021-07-14 22:53:30 +03:00 |
|
levlam
|
e74cdb3de6
|
Add logging when a chat isn't marked as empty, despite having no server messages.
|
2021-07-14 22:18:27 +03:00 |
|
levlam
|
ae01af88c3
|
Continue to get history from the database or drop last_database_message_id if it seems to be wrong.
|
2021-07-14 22:13:28 +03:00 |
|
levlam
|
8f8e260521
|
Use last received message ID to adjust last_database_message_id, if there were no messages added.
|
2021-07-14 21:49:35 +03:00 |
|
levlam
|
69072e1a8f
|
If last received from database message is first_database_message, but it fails to be added, then drop database message IDs anyway.
|
2021-07-14 21:31:53 +03:00 |
|
levlam
|
4f37b10783
|
Postpone loading history from database after the last message is deleted to process deletions of other messages first.
|
2021-07-14 21:24:15 +03:00 |
|
levlam
|
7e2554d9ac
|
Don't reload all messages with web pages from the server.
|
2021-07-08 17:37:23 +03:00 |
|
levlam
|
0dc4b5a469
|
Add source to get_messages_from_server.
|
2021-07-08 17:09:16 +03:00 |
|
levlam
|
1af1836e8f
|
Remove action bar after unarchiving group chats.
|
2021-07-07 20:04:18 +03:00 |
|
levlam
|
b18b5309b6
|
Minor improvements.
|
2021-07-05 19:28:39 +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
|
50a8e66965
|
Improve error messages.
|
2021-06-26 04:20:59 +03:00 |
|
levlam
|
50d2d0ff00
|
Don't init last_new_message_id with max_unavailable_message_id.
The message with last_new_message_id must be the latest existing server message,
after which all messages will be received through updates.
|
2021-06-25 03:26:59 +03:00 |
|
levlam
|
4c49acc440
|
Explicitly use mentioned function instead of a comment.
|
2021-06-24 23:17:13 +03:00 |
|
levlam
|
5c622801f6
|
Expect no access to message sender chat.
|
2021-06-24 22:13:57 +03:00 |
|
levlam
|
df12ea836b
|
Create sender_dialog_id if possible.
|
2021-06-23 13:11:05 +03:00 |
|
levlam
|
9940dd74db
|
Remove botInfo class from API.
|
2021-06-21 04:14:29 +03:00 |
|
levlam
|
9440925711
|
Move some classes inside corresponding managers.
|
2021-06-18 03:06:20 +03:00 |
|
levlam
|
d069de6a8b
|
Drop channel pts in inaccessible channels.
|
2021-06-16 02:54:17 +03:00 |
|
levlam
|
197992da2c
|
Add logging on failed check.
|
2021-06-09 00:56:08 +03:00 |
|
levlam
|
d80b613b55
|
Remove support for secret chat layers before 73.
|
2021-06-08 18:31:29 +03:00 |
|
levlam
|
4b2c948a99
|
Minor.
|
2021-06-04 02:18:57 +03:00 |
|
levlam
|
a96bf1531a
|
Use FullMessageId in get_login_button_url.
|
2021-06-03 23:37:56 +03:00 |
|
levlam
|
126a20c318
|
Reload voice chat when user opens a voice chat link.
|
2021-06-03 20:16:14 +03:00 |
|
levlam
|
9cecc116f3
|
Prefer US spelling of "canceled".
|
2021-05-31 21:51:48 +03:00 |
|
levlam
|
374b7eeaec
|
Disable notifications about messages sent before authorization just in case.
|
2021-05-29 23:08:08 +03:00 |
|
levlam
|
5832a59ee5
|
Move get_message_link_info to LinkManager.
|
2021-05-27 20:47:04 +03:00 |
|
levlam
|
2d534e48d6
|
Move get_dialog_invite_link_hash to LinkManager.
|
2021-05-27 20:31:06 +03:00 |
|
levlam
|
d6e3a56ab8
|
Use LinkManager::get_link_info in get_message_link_info.
|
2021-05-25 17:16:50 +03:00 |
|
levlam
|
acd6caae9b
|
Add class td_api::InternalLinkType and parse some intenal links.
|
2021-05-25 17:06:27 +03:00 |
|
levlam
|
62db52a23e
|
Move LoginUrl-related methods to LinkManager.
|
2021-05-25 02:39:29 +03:00 |
|
levlam
|
a6a4eb6616
|
Don't include SliceBuilder.h in logging.h.
|
2021-05-17 15:21:11 +03:00 |
|
levlam
|
8a7a3f403b
|
Try to create secret chat dialog when receive new message in it.
|
2021-05-16 02:11:37 +03:00 |
|
levlam
|
eecb0476b5
|
Unify error messages for private and secret chats.
|
2021-05-10 19:36:18 +03:00 |
|
levlam
|
260eee8bff
|
Avoid upgrade of read transaction to a write transaction.
|
2021-05-10 01:59:35 +03:00 |
|
levlam
|
9176381cff
|
Add debug for failed CHECK.
|
2021-05-09 18:43:39 +03:00 |
|
levlam
|
6baf923f07
|
Fix handling of left dialogs, which are still pinned in filters.
|
2021-05-09 00:31:43 +03:00 |
|
levlam
|
3c81a4efef
|
Fix reply_to_message_id in service messages.
|
2021-04-14 14:54:09 +03:00 |
|
levlam
|
6b0637f402
|
Disallow messageInvoice copying.
|
2021-04-13 17:40:09 +03:00 |
|
levlam
|
20096b3bb1
|
Add check that invoice message has Pay button.
|
2021-04-13 03:05:02 +03:00 |
|
levlam
|
7dbe720fdc
|
Move can_send_message_content to MessageContent.cpp.
|
2021-04-13 02:59:33 +03:00 |
|
levlam
|
2ddeead75f
|
Save expected active group call ID.
|
2021-04-12 02:49:28 +03:00 |
|
levlam
|
47a7bc05e2
|
Use service messages to synchronize active group call state.
|
2021-04-11 05:37:53 +03:00 |
|
levlam
|
969b52cc82
|
Minor improvements.
|
2021-04-09 02:35:50 +03:00 |
|
levlam
|
3f1e91e7f4
|
Support invoice receipts in another chats.
|
2021-03-31 15:36:25 +03:00 |
|
levlam
|
9700529085
|
Remove payments proxy methods from MessagesManager.
|
2021-03-31 04:15:02 +03:00 |
|
levlam
|
3ac49bc8b1
|
Pass Td to all payments method.
|
2021-03-31 03:18:00 +03:00 |
|
levlam
|
aa65e2b586
|
Allow to send invoice messages in all chat types.
|
2021-03-31 02:45:10 +03:00 |
|
levlam
|
f1b949456b
|
Support tip sending.
|
2021-03-30 18:45:22 +03:00 |
|
levlam
|
17e8860855
|
Add paymentForm.id.
|
2021-03-30 17:18:08 +03:00 |
|
levlam
|
26dc0ad930
|
Update layer to 127.
|
2021-03-26 18:15:21 +03:00 |
|
levlam
|
adedc7ad4f
|
Support chats as members of other chats.
|
2021-03-22 04:03:24 +03:00 |
|
levlam
|
9964d24ec8
|
Check permissions for all chat types in can_send_message_content.
|
2021-04-13 00:49:27 +03:00 |
|
levlam
|
c7b0063260
|
Add source to parse_dialog.
|
2021-04-12 06:04:43 +03:00 |
|
levlam
|
1934bf3b0e
|
Fix repairing unread count in fix_new_dialog.
|
2021-04-12 05:58:24 +03:00 |
|
levlam
|
5ec3b9cfce
|
Init MessagesManager on first call to get_dialog_force.
|
2021-04-12 05:11:06 +03:00 |
|
levlam
|
bdb7c833fd
|
Improve fatal error message.
|
2021-04-12 04:42:42 +03:00 |
|
levlam
|
550ccc8d9b
|
Move left chats to a correct ordered_dialogs_ list.
|
2021-04-09 01:49:27 +03:00 |
|
levlam
|
51581b8d03
|
Minor.
|
2021-04-09 01:11:44 +03:00 |
|
levlam
|
a2e6a242f1
|
Fix getChatEventLog filter flags.
|
2021-04-08 23:01:12 +03:00 |
|
levlam
|
af1b774ffb
|
Replace sender in messages sent by anonymous bot with the group itself.
|
2021-04-08 15:22:28 +03:00 |
|
levlam
|
2f687edf17
|
Don't decrease max_unavailable_message_id when processing MessageDeleteChatHistory.
|
2021-04-08 03:06:05 +03:00 |
|
levlam
|
5e7f0e8849
|
Remove unneeded logging.
|
2021-04-08 02:25:24 +03:00 |
|
levlam
|
525f72263d
|
Delete old messages using set_dialog_max_unavailable_message_id when receive MessageChatDeleteHistory.
|
2021-04-08 02:19:14 +03:00 |
|
levlam
|
9ea4bc3476
|
Delete from database loaded messages in cleared history part.
|
2021-04-08 01:59:44 +03:00 |
|
levlam
|
a0dcd2d9c2
|
Add optional source to have_dialog_force.
|
2021-04-08 00:51:32 +03:00 |
|
levlam
|
0a0c9a6f96
|
Add optional source to get_dialog_force.
|
2021-04-08 00:42:21 +03:00 |
|
levlam
|
5a7015b9fe
|
Improve CHECK messages.
|
2021-04-07 23:43:24 +03:00 |
|
levlam
|
ad17a75f28
|
Add source to add_new_dialog.
|
2021-04-07 23:35:09 +03:00 |
|
levlam
|
55662f5db6
|
Add CHECK debug.
|
2021-04-06 12:33:08 +03:00 |
|
levlam
|
a54be3de0d
|
Improve logging.
|
2021-04-05 21:26:14 +03:00 |
|
levlam
|
d3030445c5
|
Improve logging.
|
2021-04-04 23:31:08 +03:00 |
|
levlam
|
2246b81d6f
|
Immediately delete already deleted sent message instead of storing updateMessageID.
|
2021-04-04 23:23:08 +03:00 |
|
levlam
|
0b53ace8d0
|
Improve deletion of deleted being sent messages.
|
2021-04-04 22:59:56 +03:00 |
|
levlam
|
d44e9e5577
|
Add source to delete_dialog_messages.
|
2021-04-04 03:54:27 +03:00 |
|
levlam
|
8039660cfe
|
Reload objects from server if failed to resolve their dependencies.
|
2021-04-04 03:23:22 +03:00 |
|
levlam
|
6dfe45c03c
|
Fix unpinning of unknown chats.
|
2021-04-04 01:59:45 +03:00 |
|
levlam
|
84194768ae
|
Add check that chats aren't created before MessagesManager is inited.
|
2021-04-03 22:41:26 +03:00 |
|
levlam
|
5a885bd06d
|
Add more logging.
|
2021-04-03 02:46:56 +03:00 |
|
levlam
|
bee68243e8
|
Fix CHECK.
|
2021-04-03 02:19:30 +03:00 |
|
levlam
|
e75d8ccadc
|
Add check.
|
2021-04-01 21:27:40 +03:00 |
|
levlam
|
ffab6fe018
|
Remove top_thread_message_id from scheduled messages.
|
2021-04-01 21:10:25 +03:00 |
|
levlam
|
5508721497
|
Use add_message_dependencies to reliably find all dependent dialogs.
|
2021-03-31 16:17:25 +03:00 |
|
levlam
|
1bb13c0ab3
|
Remove unused parameter in add_message_dependencies.
|
2021-03-31 16:07:45 +03:00 |
|
levlam
|
13a80bc4e8
|
Use send_closure_later to avoid cycles in add_message_to_dialog.
|
2021-03-29 22:36:29 +03:00 |
|
levlam
|
955ce5f946
|
Improve error message.
|
2021-03-29 22:25:06 +03:00 |
|
levlam
|
732193b346
|
Fix default last_new_message_id in secret chats, broken in 9948e41aed .
|
2021-03-29 20:52:59 +03:00 |
|
levlam
|
c739df8507
|
Pass UserId instead of int32 when creating secret chat.
|
2021-03-29 11:57:26 +03:00 |
|
levlam
|
9936cdc320
|
Fix handling of speaking in group call chat actions.
|
2021-03-28 04:03:00 +03:00 |
|
levlam
|
307821eb31
|
Never treat closed secret chats as just created.
|
2021-03-28 03:46:45 +03:00 |
|
levlam
|
879fd3b7c0
|
Use add_message_sender_dependencies for default group call alias.
|
2021-03-28 01:55:39 +03:00 |
|
levlam
|
b84318fed4
|
Minor improvements.
|
2021-03-27 05:19:22 +03:00 |
|
levlam
|
6656cd29f9
|
Add version to GroupCallParticipant.
|
2021-03-19 02:44:20 +03:00 |
|
levlam
|
12a755d921
|
Don't ignore update about ended group call if group call is being joined.
|
2021-03-19 01:28:18 +03:00 |
|
levlam
|
62c9890bcf
|
Support url_auth_domains.
|
2021-03-16 01:29:54 +03:00 |
|
levlam
|
95391dc705
|
Improve logging.
|
2021-03-15 16:42:03 +03:00 |
|
levlam
|
0339921102
|
Improve some spelling.
|
2021-03-15 03:32:14 +03:00 |
|
levlam
|
574884510b
|
Use MessageSender as participant_alias.
|
2021-03-08 18:08:41 +03:00 |
|
levlam
|
f24ca02f37
|
Add td_api::voiceChat class.
|
2021-03-08 17:00:39 +03:00 |
|
levlam
|
159c4f3f00
|
Remove race in default_join_as updating.
|
2021-03-08 15:27:47 +03:00 |
|
levlam
|
4eab57cd7b
|
Add chat.default_join_voice_chat_as_chat_id.
|
2021-03-08 15:13:36 +03:00 |
|
levlam
|
caa1db85ab
|
Prevent race in updating of joined voice chat.
|
2021-03-07 02:21:08 +03:00 |
|
levlam
|
0615d1f61d
|
Prevent voice chat data updating during join.
|
2021-03-07 01:06:51 +03:00 |
|
levlam
|
16ab28f230
|
Allow to send speaking actions in read-only chats.
|
2021-03-05 20:06:37 +03:00 |
|
levlam
|
8ede5f736f
|
Support speaking typings by chats.
|
2021-03-05 18:49:02 +03:00 |
|
levlam
|
a93189dade
|
Support chats as group call participants.
|
2021-03-05 14:40:54 +03:00 |
|
levlam
|
bcf3643cf7
|
Update layer to 125.
|
2021-03-02 17:27:44 +03:00 |
|
levlam
|
45b21b1f33
|
Improve log messages.
|
2021-03-08 22:56:05 +03:00 |
|
levlam
|
b1da98faeb
|
Fix possible integer overflow.
|
2021-03-03 15:10:00 +03:00 |
|
levlam
|
813b141148
|
Fix channelParticipantSelf handling.
|
2021-03-01 02:33:38 +03:00 |
|
levlam
|
eafdf2ebed
|
Add td_api::getMessageImportConfirmationText.
|
2021-02-23 02:03:24 +03:00 |
|
levlam
|
16913bff03
|
Improve date changed warning.
|
2021-02-20 21:32:07 +03:00 |
|
levlam
|
65e7a271a2
|
Add variables for old/new content type.
|
2021-02-20 21:21:06 +03:00 |
|
levlam
|
de71870e83
|
Repair file_reference in reportChatPhoto.
|
2021-02-20 21:06:58 +03:00 |
|
levlam
|
c67a0d9d7b
|
Add class ReportReason.
|
2021-02-20 03:55:09 +03:00 |
|
levlam
|
3774b13ca1
|
Add td_api::reportChatPhoto.
|
2021-02-19 19:11:27 +03:00 |
|
levlam
|
2e943a6c85
|
Fix misprint.
|
2021-02-19 16:37:44 +03:00 |
|
levlam
|
b9b6b05bae
|
Don't allow changing auto-delete in Saved Messages and 777000.
|
2021-02-18 22:14:10 +03:00 |
|
levlam
|
998d022b2d
|
Add td_api::chatEventVoiceChatParticipantVolumeLevelChanged.
|
2021-02-18 13:47:33 +03:00 |
|
levlam
|
79d2929584
|
support ttl_period for service messages.
|
2021-02-16 15:26:52 +03:00 |
|
levlam
|
65d4229352
|
Allow to specify report text for all report chat reasons.
|
2021-02-12 20:14:59 +03:00 |
|
levlam
|
c1a14d887b
|
Don't send updateDeleteMessage twice for the same message.
|
2021-02-10 14:36:33 +03:00 |
|
levlam
|
d6da217b9a
|
Allow changing message TTL in non-secret chats.
|
2021-02-09 18:51:08 +03:00 |
|
levlam
|
5ac0a9bd8a
|
Add chatEventMessageTtlSettingChanged.
|
2021-02-09 18:10:20 +03:00 |
|
levlam
|
4423ccbde2
|
Add invite_link_changes filter for chat event log.
|
2021-02-09 17:59:57 +03:00 |
|
levlam
|
54b7b0f6e3
|
Return message ttl for ordinary self-destructing messages.
|
2021-02-09 17:51:20 +03:00 |
|
levlam
|
cc50f3b143
|
Support receiving message TTL setting for all chat types.
|
2021-02-09 17:35:48 +03:00 |
|
levlam
|
876932843a
|
Support automatic deletion of messages by ttl_period.
|
2021-02-08 23:41:17 +03:00 |
|
levlam
|
bf42d62f1e
|
Unify ResultHandler subclass names and logged name.
|
2021-02-08 15:56:08 +03:00 |
|
levlam
|
313a58b952
|
Replace td_api::sendChatSetTtlMessage with td_api::setChatMessageTtl.
|
2021-02-05 14:21:16 +03:00 |
|
levlam
|
fef8bd151c
|
Support some new chat events.
|
2021-02-05 02:54:34 +03:00 |
|
levlam
|
0cdb0388ee
|
Improve TTL spelling.
|
2021-02-02 02:33:48 +03:00 |
|
levlam
|
642a9a9efb
|
Update layer to 124.
|
2021-02-02 02:00:28 +03:00 |
|
levlam
|
5f54e72444
|
Process toggleGroupCallMuteNewParticipants immediately and sync in background.
|
2021-02-15 18:12:50 +03:00 |
|
levlam
|
c8157edf57
|
Don't save message file source IDs for bots.
|
2021-02-14 01:35:40 +03:00 |
|
levlam
|
578b8a4dec
|
Minor performance improvements.
|
2021-02-14 01:25:17 +03:00 |
|
levlam
|
b767414fc1
|
Resave dialog if last message can't be added.
|
2021-02-10 15:25:18 +03:00 |
|
levlam
|
65a7715248
|
Pass promise to MessagesManager::on_dialog_deleted.
|
2021-02-04 16:01:04 +03:00 |
|
levlam
|
ad0c5e6783
|
Minor improvements.
|
2021-02-01 13:41:20 +03:00 |
|
levlam
|
f0355b42c4
|
Disable notifications for importe messages.
|
2021-01-28 22:12:55 +03:00 |
|
levlam
|
9e37c85af3
|
Minor improvements.
|
2021-01-27 02:57:59 +03:00 |
|
levlam
|
cd3abdbeb2
|
Move dialog participant methods from MessagesManager to ContactsManager.
|
2021-01-27 02:16:17 +03:00 |
|
levlam
|
d648ce0b69
|
Remove chatActionImportingMessages.
|
2021-01-26 03:13:09 +03:00 |
|
levlam
|
ef59e47807
|
Fix uploadImportedMedia.
|
2021-01-26 02:55:48 +03:00 |
|
levlam
|
15fe7f7a04
|
Rename suggested_name to suggested_path.
|
2021-01-26 02:39:48 +03:00 |
|
levlam
|
0b868c0aad
|
Add chatActionBarInviteMembers.
|
2021-01-26 02:22:35 +03:00 |
|
levlam
|
f77adeb28c
|
Update layer 123.
|
2021-01-26 02:00:12 +03:00 |
|
levlam
|
60b76e89aa
|
Allow import messages with can_change_info administrator right.
|
2021-01-22 23:45:39 +03:00 |
|
levlam
|
6ddce1dd7a
|
Add name to messageFileTypePrivate.
|
2021-01-22 22:42:32 +03:00 |
|
levlam
|
e584eccc65
|
Add createNewSupergroupChat.for_import.
|
2021-01-22 19:23:44 +03:00 |
|
levlam
|
1159323ecc
|
Add getMessageFileType method.
|
2021-01-22 19:14:35 +03:00 |
|
levlam
|
bff723436a
|
Upload inported messages as small files.
|
2021-01-22 18:13:38 +03:00 |
|
levlam
|
f307200ddc
|
Support attachment upload in importMessages.
|
2021-01-22 17:09:08 +03:00 |
|
levlam
|
6f38576467
|
Add FileManager::guess_file_type.
|
2021-01-22 15:17:56 +03:00 |
|
levlam
|
b8d8f18b91
|
Add chatReportReasonFake.
|
2021-01-22 00:55:42 +03:00 |
|
levlam
|
516f9cb9ce
|
Add importMessages method.
|
2021-01-21 22:00:08 +03:00 |
|
levlam
|
ebb453c952
|
Add messageForwardOriginMessageImport.
|
2021-01-21 12:49:05 +03:00 |
|
levlam
|
da4d2b7636
|
Add separate banChatMember method.
|
2021-01-20 21:12:48 +03:00 |
|
levlam
|
1b7c6a9c31
|
Update layer 123.
|
2021-01-20 16:12:03 +03:00 |
|
levlam
|
613caeb444
|
Add source to send_get_dialog_query.
|
2021-01-20 15:02:45 +03:00 |
|
levlam
|
dbf1253075
|
Replace deleteSupergroup with universal deleteChat method.
|
2021-01-20 14:49:18 +03:00 |
|
levlam
|
4fa29ab1b8
|
Add deleteAllCallMessages method.
|
2021-01-19 13:21:50 +03:00 |
|
levlam
|
0b7ce1c647
|
Update layer 123. Support new generateChatInviteLink.
|
2021-01-12 17:05:25 +03:00 |
|
levlam
|
567707099e
|
Use messageEmpty.peer_id.
|
2021-01-02 23:32:02 +03:00 |
|
levlam
|
3f856ccb46
|
Don't load dialog after ChatFull is loaded from database.
|
2021-01-25 17:58:19 +03:00 |
|
levlam
|
d25edad06d
|
Rewrite searchChatMembers and getSupergroupMembers implementation.
|
2021-01-25 17:34:45 +03:00 |
|
levlam
|
ef160aa2c0
|
Add struct DialogParticipants.
|
2021-01-25 02:00:57 +03:00 |
|
levlam
|
feba24f1f4
|
Improve updating first/last database message IDs in on_get_history.
|
2021-01-25 01:19:41 +03:00 |
|
levlam
|
c169067bb5
|
Improve logging.
|
2021-01-24 23:45:03 +03:00 |
|
levlam
|
e63776dbd3
|
Improve updating first/last database message IDs in on_get_history.
|
2021-01-24 23:27:53 +03:00 |
|
levlam
|
08b3ce0aac
|
Fix updating last database message ID after channelDifferenceTooLong.
|
2021-01-24 23:07:55 +03:00 |
|
levlam
|
d36ee86027
|
Stricter conditions for setting have_full_history.
|
2021-01-24 22:45:25 +03:00 |
|
levlam
|
527c61caeb
|
Skip send_update_chat_has_scheduled_messages call if there was no scheduled message changes.
|
2021-01-24 03:29:54 +03:00 |
|
levlam
|
77a404d313
|
Delete updateMessageId if target message is in inaccessible chat part.
|
2021-01-24 03:20:19 +03:00 |
|
levlam
|
3e90584859
|
Delete updateMessageId whenever target message is found to be deleted.
|
2021-01-24 02:49:01 +03:00 |
|
levlam
|
c3e4560811
|
Add MessagesManager::delete_update_message_id method.
|
2021-01-24 02:14:51 +03:00 |
|
levlam
|
960aae0ae6
|
Improve handling of via_bot_name.
|
2021-01-23 23:19:37 +03:00 |
|
levlam
|
9c961b2eb8
|
Optimize database_message_id updating in on_get_history.
|
2021-01-21 23:37:00 +03:00 |
|
levlam
|
027c78c691
|
Remove wrong error logging.
|
2021-01-18 13:32:44 +03:00 |
|
levlam
|
451c0afe60
|
Fix ChatFullInfo reloading due to uninited is_is_blocked_inited.
|
2021-01-16 12:33:45 +03:00 |
|
levlam
|
2348e175d9
|
Add source to get_chat_full_force.
|
2021-01-16 12:30:48 +03:00 |
|
levlam
|
52b7f8f118
|
Add DialogParticipantFilter logging.
|
2021-01-16 11:56:02 +03:00 |
|
levlam
|
0e961b0be7
|
Move dummyUpdate/updateSentMessage to UpdatesManager.
|
2021-01-16 01:51:01 +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
|
10ec257921
|
Hide message interaction info for yet unsent supergroup messages.
|
2021-01-15 14:01:48 +03:00 |
|
levlam
|
36b4c55927
|
Remove force_apply from add_pending_update.
|
2021-01-12 01:52:10 +03:00 |
|
levlam
|
efec8787d8
|
Add MessagesManager::check_pts_update.
|
2021-01-11 23:31:25 +03:00 |
|
levlam
|
c5549b7346
|
Improve log messages.
|
2021-01-08 16:05:16 +03:00 |
|
levlam
|
c271524019
|
Treat updates with too big pts as outdated.
|
2021-01-08 14:43:00 +03:00 |
|
levlam
|
eab5532688
|
Fix applying of postponed pts updates.
|
2021-01-08 14:37:50 +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
|
d9fa3b3f36
|
Fix CHECK.
|
2021-01-01 02:21:50 +03:00 |
|
levlam
|
371ec422e6
|
Don't fix reply_to_message_id in message thread drafts.
|
2020-12-30 15:09:41 +03:00 |
|
levlam
|
b1ffe39759
|
Improve "Restore pts" warnings.
|
2020-12-30 14:57:43 +03:00 |
|
levlam
|
f7c01e88e3
|
Add comment.
|
2020-12-29 15:51:12 +03:00 |
|
levlam
|
ccd99ac16a
|
Do not treat empty messages as deleted for bots.
|
2020-12-29 15:44:43 +03:00 |
|
levlam
|
1c150610d0
|
Silence expected warning.
|
2020-12-29 15:32:36 +03:00 |
|
levlam
|
8139e0d560
|
Update forward_count and thread reply_info only after updateNewMessage is sent.
|
2020-12-28 16:58:50 +03:00 |
|
levlam
|
6af4338f8b
|
Add MessagesManager::update_forward_count.
|
2020-12-28 16:21:39 +03:00 |
|
levlam
|
5f02a34c34
|
Don't hide reply info for yet unsent messages.
|
2020-12-28 15:19:56 +03:00 |
|
levlam
|
30d912bd4b
|
Set is_pinned flag for last_pinned_message_id.
|
2020-12-26 01:05:24 +03:00 |
|
levlam
|
9ca42ec8da
|
Check message pts before merging files.
|
2020-12-25 16:12:09 +03:00 |
|
levlam
|
b70eb33158
|
Save pts of the last processed message edit.
|
2020-12-25 03:31:12 +03:00 |
|
levlam
|
ebc4e57da7
|
Minor improvements of process_update.
|
2020-12-25 03:19:10 +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
|
d191bc49b6
|
Save updates with pts_count == 0 to postpone setting their promises.
|
2020-12-25 01:32:31 +03:00 |
|
levlam
|
4a28b98022
|
Pass promise to add_pending_channel_update.
|
2020-12-25 00:20:21 +03:00 |
|
levlam
|
3dbc996acc
|
Postpone pts updates, which can't be applied right now.
|
2020-12-24 23:32:32 +03:00 |
|
levlam
|
4ea10b3de6
|
Pass promise to MessagesManager::add_pending_update.
|
2020-12-24 21:56:15 +03:00 |
|
levlam
|
7d73126506
|
Add success promise to on_get_updates.
|
2020-12-21 22:06:52 +03:00 |
|
levlam
|
f11877f6ed
|
Remove null messages from search-like request responses.
|
2020-12-20 14:08:11 +03:00 |
|
levlam
|
bbde4f32c6
|
Allow to specify emoji for sent stickers.
|
2020-12-19 14:31:42 +03:00 |
|
levlam
|
8dd4fe3166
|
Separately apply versioned and unversioned group call updates.
|
2020-12-18 16:23:49 +03:00 |
|
levlam
|
e856788f52
|
Reload group call when chat is opened.
|
2020-12-17 18:38:27 +03:00 |
|
levlam
|
2a50685321
|
Add separate GroupCallManager::on_update_group_call_rights method.
|
2020-12-17 18:27:01 +03:00 |
|
levlam
|
415a64ff24
|
Allow loading channel participants without bot info.
|
2020-12-16 17:43:34 +03:00 |
|
levlam
|
d165a87b73
|
Reload group call if rights has changed.
|
2020-12-16 16:38:06 +03:00 |
|
levlam
|
babd4dc35d
|
Add source to on_update_dialog_group_call.
|
2020-12-15 19:25:07 +03:00 |
|
levlam
|
adca19d4da
|
Fix group call version initialization.
|
2020-12-15 15:40:52 +03:00 |
|
levlam
|
6ca15f18c8
|
Move voice chat-related fields to Dialog.
|
2020-12-14 00:36:44 +03:00 |
|
levlam
|
6fdf68bad4
|
Store DialogId in information about group call.
|
2020-12-13 14:52:07 +03:00 |
|
levlam
|
07735c27e8
|
Add related to voice chats chat log event actions.
|
2020-12-08 20:02:12 +03:00 |
|
levlam
|
707f83e755
|
Add voice_chat_changes chat log event filter.
|
2020-12-08 18:42:31 +03:00 |
|
levlam
|
5c832cb361
|
Update layer 122.
|
2020-12-08 02:06:20 +03:00 |
|
levlam
|
6af2f71ddd
|
Get unknown speaking users from the server by their user_id.
|
2020-12-07 00:38:23 +03:00 |
|
levlam
|
91d4b57713
|
Add recent group call speakers.
|
2020-12-06 10:40:26 +03:00 |
|
levlam
|
fcbc9915bd
|
Try not to update twice message interaction info.
|
2020-12-05 16:23:22 +03:00 |
|
levlam
|
ce4054c5d4
|
Add messageGroupCall and messageInviteToGroupCall.
|
2020-11-24 14:33:16 +03:00 |
|
levlam
|
ea6cdde0c5
|
Fix MSVC 15.3 CE.
|
2020-11-20 02:03:39 +03:00 |
|
levlam
|
74a960aca1
|
Allow zero sender in searchChatMessages.
|
2020-11-19 14:55:09 +03:00 |
|
levlam
|
ea8c57fea3
|
Fix canceling chat actions on timeout.
|
2020-11-09 12:33:40 +03:00 |
|
levlam
|
60edadab90
|
Automatically group forwarded documents and music files.
|
2020-11-08 00:40:12 +03:00 |
|
levlam
|
0713c913de
|
Remove now unneeded postponed_get_message_requests_.
|
2020-11-08 00:40:12 +03:00 |
|
levlam
|
00382f825b
|
Get channel difference if it is needed to add messages.
|
2020-11-08 00:40:12 +03:00 |
|
levlam
|
ed25a03dda
|
Get channel difference before adding discussion message if needed.
|
2020-11-08 00:40:12 +03:00 |
|
levlam
|
260c15e3e9
|
Add process_discussion_message method.
|
2020-11-08 00:40:12 +03:00 |
|
levlam
|
8f623e8be7
|
Add early check for another active channel difference.
|
2020-11-08 00:40:12 +03:00 |
|
levlam
|
cb06833eb1
|
Reload full dialog info with a small delay.
|
2020-11-08 00:40:06 +03:00 |
|
levlam
|
da1f073e22
|
Forward messages in two passes.
|
2020-11-06 16:00:56 +03:00 |
|
Sergey Polovko
|
645052bec7
|
Implement hash function for MessageContentType enum. (#1283)
|
2020-11-06 02:05:15 +03:00 |
|
levlam
|
254823d602
|
Fix search inside message threads.
|
2020-11-05 17:46:47 +03:00 |
|
levlam
|
c1de6a7d8d
|
Minor improvements.
GitOrigin-RevId: eb8b201d80405feb6972b2eabc7de30d40aa8b81
|
2020-11-02 00:43:57 +03:00 |
|
levlam
|
301c8b167f
|
Allow passing outdated yet unsent message identifier to getRepliedMessage.
GitOrigin-RevId: b24c47456a3716022de52fe030245e048ff5d053
|
2020-11-01 23:24:29 +03:00 |
|
levlam
|
ab5484fd78
|
Improve logging.
GitOrigin-RevId: 2d3e19395b48d4c6c330a852d559b537ff363b4e
|
2020-11-01 23:22:42 +03:00 |
|
levlam
|
ed0bf2c1b3
|
Ignore failed to load chats in getChatFilter.
GitOrigin-RevId: 5c1871080e56576f402917e1ecfbf0c99da0deba
|
2020-10-31 16:43:26 +03:00 |
|
levlam
|
e27385e9b8
|
Fix discussion message usage.
GitOrigin-RevId: 52f7c267b29589c751a2acfc5f74dce9950dc801
|
2020-10-31 15:19:36 +03:00 |
|
levlam
|
38d2fb8e94
|
Improve updates order.
GitOrigin-RevId: 5a88973c364be4630a7923190958cda47c697678
|
2020-10-31 14:55:44 +03:00 |
|
levlam
|
ca3315ba06
|
Add MessagesManager::update_reply_count_by_message and update reply_count on message deletion.
GitOrigin-RevId: 2746c056ae021053587c8b16b50a92ed126f89da
|
2020-10-31 13:55:53 +03:00 |
|
levlam
|
dd12a34656
|
Simplify set_dialog_last_pinned_message_id usage.
GitOrigin-RevId: 62c3e3e8b5bd0260bc059ba92b6bc400bb9b3eda
|
2020-10-31 13:13:31 +03:00 |
|
levlam
|
a4a28c511b
|
Move logging from ERROR to WARNING.
GitOrigin-RevId: f46e811f84315f014625ea532459fa714432a884
|
2020-10-31 11:58:06 +03:00 |
|
levlam
|
ed24ba28df
|
Update last pinned message ID after receiving pinned message search results.
GitOrigin-RevId: 5847782e855561c3f17b8f2a3d3a3feb3fc096d9
|
2020-10-30 18:50:45 +03:00 |
|
levlam
|
e97d547edf
|
Add author_signature to message forward origin.
GitOrigin-RevId: df1046ec0a30e2ccf43867d6dcc4558b0212c0c6
|
2020-10-30 18:24:17 +03:00 |
|
levlam
|
e8d97ebbcd
|
Apply users and chats from channels.getDifference before creating the dialog.
GitOrigin-RevId: 5ee65a1b7c199daf38d94a7d93b8adfb6532703d
|
2020-10-30 18:09:57 +03:00 |
|
levlam
|
f42532e9ed
|
Fix CHECK.
GitOrigin-RevId: b6b51f3e78f2f6c8e8a60df6f862ee3ef647e66a
|
2020-10-30 16:21:34 +03:00 |
|
levlam
|
6f4c4adcc8
|
Improve field names.
GitOrigin-RevId: ded67301be27af1f3b7c8f7e11b2172bb92934c7
|
2020-10-30 15:51:20 +03:00 |
|
levlam
|
86c80e652e
|
Improve field names.
GitOrigin-RevId: 3c30190dc75bd5dc812078f33bbf9dcaaeba1a1a
|
2020-10-29 22:25:58 +03:00 |
|
levlam
|
ef1b2921ae
|
Add td_api::getCallbackQueryMessage.
GitOrigin-RevId: a5ca7eab673e00942b4e2fe7a9c6e17dfb3784f8
|
2020-10-29 01:06:07 +03:00 |
|
levlam
|
0a6ec2ce1c
|
Fix updating last pinned message.
GitOrigin-RevId: 880ef5fa1ef5c0e5ea0746ad8251912ee7ab672f
|
2020-10-28 20:20:11 +03:00 |
|
levlam
|
6572821eff
|
Update last_pinned_message_id by updates only if it is already inited.
GitOrigin-RevId: 28a4acb97a6c1e442bbcaa15239c9bf93fd68e40
|
2020-10-28 15:18:22 +03:00 |
|
levlam
|
3a87d1908f
|
Fix updating message.is_pinned.
GitOrigin-RevId: d00c962f66c04b6977b395ed2c35d2c97c1c51bc
|
2020-10-28 15:14:42 +03:00 |
|
levlam
|
974feddb4a
|
Reload full chat info after pinned message is dropped.
GitOrigin-RevId: 6cbf3d217b5da21f050715ed290cb122d6a4ef2c
|
2020-10-28 14:25:27 +03:00 |
|
levlam
|
a7e1f29f34
|
Fix updating of scheduled messages.
GitOrigin-RevId: 2744c6763bdb1e8fcfbdaa44b6f5f928e8fddbc7
|
2020-10-27 18:55:38 +03:00 |
|
levlam
|
8d2c2e586e
|
Disable message threads in non-root messages in non-linked groups.
GitOrigin-RevId: 71b2b3cdcf413353a76adb9524ddfdf5fe89b972
|
2020-10-27 15:10:56 +03:00 |
|
levlam
|
38fe050dba
|
Update layer 120. New live location approaching API.
GitOrigin-RevId: 98e984a3c84deee3552eb01b53963a6a998c7eda
|
2020-10-25 00:49:41 +03:00 |
|
levlam
|
a27bf08319
|
Allow to block users using td_api::messageSenderChat.
GitOrigin-RevId: 71be9510975f0dd8354c2cffa829d707f80ee4d3
|
2020-10-24 02:18:11 +03:00 |
|
levlam
|
7c5175b78a
|
Improve error message.
GitOrigin-RevId: dfa935cc2c2f65d61a969c8a455a47145f97b8fb
|
2020-10-23 15:25:46 +03:00 |
|
levlam
|
3eee4654f7
|
Add message to td_api::chatEventMessageUnpinned.
GitOrigin-RevId: f7c90fa7d782eb57288de582094688252f230b43
|
2020-10-23 14:04:00 +03:00 |
|
levlam
|
1049ae0630
|
Disallow pinning service messages.
GitOrigin-RevId: 18c23b8dbfe97e60e27fc605a145e11356231c38
|
2020-10-23 02:25:35 +03:00 |
|
levlam
|
65246318bb
|
Allow to pin chat messages only for self in private chats.
GitOrigin-RevId: 57f71b2728a47469ff8f2a53478300dd3c96f658
|
2020-10-23 02:12:32 +03:00 |
|
levlam
|
793e8409de
|
Add td_api::unpinAllChatMessages.
GitOrigin-RevId: ad5aa1cf7ea0f1ee770900f5f58409436029b9a7
|
2020-10-23 01:56:06 +03:00 |
|
levlam
|
313eeeedcc
|
Return back updating of last pinned message ID on new pinned message.
GitOrigin-RevId: 03dfeb882c56815a4c5e66af1280df232f2071f6
|
2020-10-21 14:56:05 +03:00 |
|
levlam
|
35045bf18e
|
Fix get_dialog_pinned_message.
GitOrigin-RevId: 19c58053e7d0d28729f6f7ca341b788df02a091d
|
2020-10-21 02:23:29 +03:00 |
|
levlam
|
4f7791121f
|
Update pinned message count when message.is_pinned changed.
GitOrigin-RevId: 924aa4f4fdd009d2eb8b6603e10d19566d346444
|
2020-10-20 20:44:46 +03:00 |
|
levlam
|
5442143aba
|
Rename pinned_message_id to last_pinned_message_id.
GitOrigin-RevId: c30148f3559f4ebecd3988c4bddc6cff82da3557
|
2020-10-20 20:28:37 +03:00 |
|
levlam
|
39fdab7b56
|
Remove chat.pinned_message_id field.
GitOrigin-RevId: 2a22d0eff8258e33aa7efd7b6f1daccdbcba95f9
|
2020-10-20 20:22:34 +03:00 |
|
levlam
|
31fbeaa2d0
|
Fix some pinned_message_id usages.
GitOrigin-RevId: 6c1952922e39214504705e6c4fb04474aba68c46
|
2020-10-20 19:58:59 +03:00 |
|
levlam
|
a9b7366296
|
Synchronize chat.pinned_message_id with message.is_pinned changes.
GitOrigin-RevId: 7d5debbdd6d44af3209c75745f49ad4a67b7a523
|
2020-10-20 19:07:11 +03:00 |
|
levlam
|
14f5df397d
|
Support unpinning chat messages.
GitOrigin-RevId: 5cc4f2f5642114fd31c8a2ae71c8fda501dc73f7
|
2020-10-20 15:48: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
|
f2f214f46b
|
Add searchMessagesFilterPinned.
GitOrigin-RevId: 322b7b59d91b0de47ac3bbc3734b1f81130fd152
|
2020-10-20 02:41:24 +03:00 |
|
levlam
|
ef09c6c5a9
|
Add message.is_pinned flag.
GitOrigin-RevId: 0449aaa0d12f29d722fbfcf4bad6d85f2212d819
|
2020-10-20 02:08:56 +03:00 |
|
levlam
|
9b8fc4b026
|
Add backward compatibility users for bots for all MessageSender objects.
GitOrigin-RevId: d91537e8d0fbf99d42b5dd05a34d923dd4e1597a
|
2020-10-19 22:15:40 +03:00 |
|
levlam
|
de1e5e0bd4
|
Add new message content type MessageLiveLocationApproached.
GitOrigin-RevId: 6bf5ac6b3320d0b6da9c27bf5258105ccd958396
|
2020-10-19 20:44:09 +03:00 |
|
levlam
|
91cf083c94
|
Add add_message_sender_dependencies function.
GitOrigin-RevId: 70f6ac49b7769d707079956df858e98409704a90
|
2020-10-19 19:17:56 +03:00 |
|
levlam
|
9a3653a017
|
Add {en,dis}ableLiveLocationApproachingNotification methods.
GitOrigin-RevId: d1b92e683a4d663c33a09e8eb42a3aa62d134ef0
|
2020-10-19 18:44:55 +03:00 |
|
levlam
|
827ceb3ee5
|
Add audio, video and video note without duration to shared media.
GitOrigin-RevId: 924a2b8654e1d118b26c6174af3c0ebd327d454f
|
2020-10-19 14:31:18 +03:00 |
|
levlam
|
4b62900c0d
|
Add chatMembersFilterMention.
GitOrigin-RevId: d84138594d1546275e5fea46d9cef42eac69449b
|
2020-10-19 14:06:35 +03:00 |
|
levlam
|
3f143b013a
|
Use class for DialogParticipantsFilter.
GitOrigin-RevId: 56fc4ee7a35412db965c668f6a116ae29074f0a4
|
2020-10-19 01:48:31 +03:00 |
|
levlam
|
27f63e9e2e
|
Replace getBlockedChats with getBlockedMessageSenders.
GitOrigin-RevId: 044f70ab823b8302dddc8b7a128f19514306272a
|
2020-10-18 02:10:58 +03:00 |
|
levlam
|
0834d6164b
|
Replace toggleChatIsBlocked with toggleMessageSenderIsBlocked.
GitOrigin-RevId: cec3ba4ba139593e8cbf9422711e79b4a736b6f3
|
2020-10-18 01:54:32 +03:00 |
|
levlam
|
62fbb88969
|
Rename blockChatFromReplies to blockMessageSenderFromReplies.
GitOrigin-RevId: 820cbd60145c339c6cf5a7d319ff540ce03861e2
|
2020-10-18 01:26:36 +03:00 |
|
levlam
|
2915129cd8
|
Allow message threads in all chats.
GitOrigin-RevId: 36652fbb9fb997fe41fd8bdf7b7172593fcc3629
|
2020-10-18 00:17:44 +03:00 |
|
levlam
|
30c17d200b
|
Use MessageSender to represent recent repliers.
GitOrigin-RevId: 2078a6b936d2087a1672eb96851494508f28a465
|
2020-10-18 00:07:39 +03:00 |
|
levlam
|
9fb26c4ea2
|
Return back UserFull.is_blocked.
GitOrigin-RevId: 98bc31a64c4c644fd6bb9e6e895d521b17df5afa
|
2020-10-17 23:38:07 +03:00 |
|
levlam
|
6e3eda2aa1
|
Add live location heading support.
GitOrigin-RevId: 67a1bdad91e82f6e7509f4df8c7f66a00e44ab83
|
2020-10-16 23:08:28 +03:00 |
|
levlam
|
d159ab4f52
|
Support audio-only and document-only albums.
GitOrigin-RevId: 96283716a84613e8e9dd1cb9bfb4d69097cefcc7
|
2020-10-15 18:13:54 +03:00 |
|
levlam
|
af6fe68c00
|
Allow to pin messages in all private chats.
GitOrigin-RevId: b5f55c22a6ec5950f5b88b66726bce918112d57f
|
2020-10-15 17:21:15 +03:00 |
|
levlam
|
b1ed582737
|
Allow to specify a chat as a local message sender.
GitOrigin-RevId: f1f5251b617a6f17188c7db49450a2eb433ef14c
|
2020-10-14 21:47:20 +03:00 |
|
levlam
|
b07d9634d6
|
Allow to pass chat as MessageSender in searchChatMessages.
GitOrigin-RevId: 7b39f616b1677c03dab2bbe48311ba188ec9344b
|
2020-10-14 14:41:04 +03:00 |
|
levlam
|
e32e1c66e7
|
Add td_api::MessageSender class.
GitOrigin-RevId: 082a1e74188bffc590c4a4182793a9d94b60c148
|
2020-10-13 19:40:22 +03:00 |
|
levlam
|
d968fd0bed
|
Implement new chat action rules.
GitOrigin-RevId: 12214755c86adfee0a7b3ec5f6e39024364cdb99
|
2020-10-26 15:25:34 +03:00 |
|
levlam
|
881aa63014
|
Keep reply info only on last forwarded and first album messages.
GitOrigin-RevId: 0011332382abccd84122f88bcb2ae04ee793dd2b
|
2020-10-24 14:52:18 +03:00 |
|
levlam
|
978863810c
|
Use MessageId as map key.
GitOrigin-RevId: 795c123e953dbdae3c03b828b458910fe221ce90
|
2020-10-24 02:00:37 +03:00 |
|
levlam
|
0846e7aec5
|
Don't use iterators after a promise is set.
GitOrigin-RevId: eba7487d7025410ae4a2230d4ce09cfa02012fdf
|
2020-10-24 01:45:04 +03:00 |
|
levlam
|
c768cd202a
|
Improve deletion of newer messages in on_get_channel_dialog.
GitOrigin-RevId: 98a348ba63440d8e61c1199a68298cfa66b2a863
|
2020-10-23 14:50:05 +03:00 |
|
levlam
|
bf945e05be
|
Remove promise from map before setting it.
GitOrigin-RevId: d721cab5311096631748e632cf8756edaef9d7e1
|
2020-10-23 12:54:08 +03:00 |
|
levlam
|
f5c4b93a37
|
Use generic find_messages.
GitOrigin-RevId: ac5bb9be8a6597cbdafa3762e6d6cbf5f1720edc
|
2020-10-22 16:08:54 +03:00 |
|
levlam
|
4718e640ee
|
Add generic MessagesManager::find_messages.
GitOrigin-RevId: 21c6f0145376ef4a779703b8cf516a420418cb39
|
2020-10-22 15:59:59 +03:00 |
|
levlam
|
f9009cbc01
|
Improve checks in MessagesManager::is_anonymous_administrator.
GitOrigin-RevId: 332c324e1c067cc2ed394fedce16b590188e3ae7
|
2020-10-22 02:40:58 +03:00 |
|
levlam
|
0256a95f49
|
Fix GetChannelDifferenceLogEvent handling.
GitOrigin-RevId: facbb318cbba1c9ac6908db86ec5fba123c88d7b
|
2020-10-21 16:54:32 +03:00 |
|
levlam
|
d17531e0e3
|
Ensure that private message push notifications don't contain mention.
GitOrigin-RevId: 87d85e63b70fdc5c9fe91d22d7cf9b7ba59f0895
|
2020-10-20 21:24:26 +03:00 |
|
levlam
|
06bb6b4b11
|
Ignore anonymous status for bots.
GitOrigin-RevId: c3b5316fcb2a538655c4a2eeb09ef5df08794212
|
2020-10-19 21:43:44 +03:00 |
|
levlam
|
b03e0a827e
|
Remove wrong because of call through send_closure_later CHECK.
GitOrigin-RevId: c61586c3dde988c3174f4ce3e05fe0f08d7af468
|
2020-10-14 19:03:36 +03:00 |
|
levlam
|
a487d20e2d
|
Fix service message reply_to_message_id.
GitOrigin-RevId: b0c430c6c04167b15e4b195d86d584e376f88efe
|
2020-10-14 17:30:55 +03:00 |
|
levlam
|
a57d9ccbea
|
Don't add dummy message sender for bots on TDLib's side.
GitOrigin-RevId: d1ab4f7ca2739d30b0960f655478404d34d40757
|
2020-10-13 17:25:25 +03:00 |
|
levlam
|
c1309d7657
|
Do not return deleted secret chats and replace migrated basic groups with corresponding supergroups in recently found chats.
GitOrigin-RevId: e50390583e3956a4eb8fdb92ec8a82f04cc7914f
|
2020-10-12 11:33:16 +03:00 |
|
levlam
|
fbeea0b108
|
Add is_deleted_secret_chat method.
GitOrigin-RevId: eae2a7bcdf92587bbd77cf7c42c210b74107d8a4
|
2020-10-12 10:56:01 +03:00 |
|
levlam
|
fb1307ff60
|
Check for unneeded chat actions only while trying to send it.
GitOrigin-RevId: 7067f21e42ba0d3c3dc797f72341681e32998e6a
|
2020-10-12 01:48:13 +03:00 |
|
levlam
|
84ea5b06c9
|
Minor.
GitOrigin-RevId: 1e722a9e8ad6ddd894f9fd4e1b05529aa4aa6a15
|
2020-10-10 22:02:59 +03:00 |
|
levlam
|
30471b7099
|
Do not send chat actions to offline users like the main Android client.
GitOrigin-RevId: 6299f69ade490fa10bad74779b30a0d73a145ff2
|
2020-10-09 15:42:57 +03:00 |
|
levlam
|
35a9a93fc9
|
Fix std::...::erase return value usages.
GitOrigin-RevId: d9729ccd619e3b99554f1e1c2262d8826f0a8571
|
2020-10-08 23:04:40 +03:00 |
|
levlam
|
54f32ebc80
|
Add source to resolve_dependencies_force.
GitOrigin-RevId: b09c73df688eea5872d65ec56f0ae1cb10717542
|
2020-10-08 22:54:24 +03:00 |
|
levlam
|
13f7c8a1aa
|
Add reply_info to messageThreadInfo.
GitOrigin-RevId: fd417ea9ed2f95d79ca3346e4fcb52f4bf8882f2
|
2020-10-08 21:30:21 +03:00 |
|
levlam
|
e5e9eb3838
|
Add MessageReplyInfo::get_message_reply_info_object.
GitOrigin-RevId: 8d46914fd096afca99942bec63f2c6f65f9cbb9e
|
2020-10-08 21:17:24 +03:00 |
|
levlam
|
77fff9c578
|
Use GroupAnonymousBot as a fallback sender for bots instead of 777000.
GitOrigin-RevId: 30e2ff3c9db2efc05b3bcbfd610ad8d6492ad66e
|
2020-10-05 00:51:45 +03:00 |
|
levlam
|
c916566e76
|
Fix MessagesManager::get_chat_object.
GitOrigin-RevId: a5dddba5f844b8064fe7083c8532f9d2286b9dba
|
2020-10-03 21:47:12 +03:00 |
|
levlam
|
99163ff431
|
Fix canGetMessageThread.
GitOrigin-RevId: 688fd7615bc841284611393f77e8598e7d9cba13
|
2020-10-02 15:01:11 +03:00 |
|
levlam
|
ce1138ea13
|
Fix handling of wrong is_outgoing flag.
GitOrigin-RevId: 2b5a98ddc37139aaae39615fb5719cd0ed84ed7a
|
2020-10-02 14:31:41 +03:00 |
|
levlam
|
86e7186bae
|
Rename "chat_unload_delay" option and fix its implementation.
GitOrigin-RevId: a81de53455816c959986cd3924674600d0086adc
|
2020-10-02 12:42:16 +03:00 |
|
Andrea Cavalli
|
e0b335bc3e
|
Option "chat_unload_delay" for bots (#1219)
* Option "chat_unload_delay"
This option allows to override the default chat unload delay. The allowed range is from 60 to 86400 seconds (1 day)
|
2020-10-02 12:19:43 +03:00 |
|
levlam
|
7d5b47990b
|
Do not handle errors of messages.getReplies in channels.
GitOrigin-RevId: f80a65a578fa4ced3596acc635fa6759feb8e844
|
2020-10-01 22:57:24 +03:00 |
|
levlam
|
610443fc22
|
Send updateMessageInteractionInfo after ReplyInfo change, only if reply info is visible.
GitOrigin-RevId: ccafd95ce42cfe318a4a9fb096e0580093decf4c
|
2020-10-01 22:43:13 +03:00 |
|
levlam
|
ca1594c8ec
|
Update reply info if linked_channel_id is changed.
GitOrigin-RevId: 629721095881d2c9a401519d26f75bbbba4446f9
|
2020-10-01 22:28:54 +03:00 |
|
levlam
|
711b0cfd4f
|
Introduce DialogAction class.
GitOrigin-RevId: f94011c1b70cdc17115bfbb981c6e000110adfbf
|
2020-10-01 19:28:10 +03:00 |
|
levlam
|
c332f26352
|
Introduce messageReplyInfo.
GitOrigin-RevId: 10e757b71fde4e29aa81905bfba5fc4ca5523bbb
|
2020-10-01 16:12:20 +03:00 |
|
levlam
|
d66c404f3a
|
Fix can_get_message_thread flag.
GitOrigin-RevId: 4f44e18cecabd3e7f1aff85a91078b3749e76bfc
|
2020-10-01 15:52:19 +03:00 |
|
levlam
|
6e9108a69d
|
Disallow message threads in not-linked chats.
GitOrigin-RevId: aaf20c0076c3fe2ceb30b65d1f9fef602aa8e51d
|
2020-10-01 15:47:58 +03:00 |
|
levlam
|
6c63c859c9
|
Add MessagesManager::get_top_thread_full_message_id.
GitOrigin-RevId: 002b7503278a9a84c96b41088b888220498b10f6
|
2020-10-01 15:25:54 +03:00 |
|
levlam
|
6944b4d435
|
Pass expected_idalog_id instead of channel_id in GetDiscussionMessageQuery.
GitOrigin-RevId: b5e537a49e25c5d342e8dd682cb6ca7e4bfc2686
|
2020-10-01 14:47:02 +03:00 |
|
levlam
|
b8f81b2ac0
|
Fix message_thread_id in td_api::messageThreadInfo.
GitOrigin-RevId: f308844f1ea02eab8993df5c660d7cf1242484bc
|
2020-10-01 12:13:20 +03:00 |
|
levlam
|
476a18630f
|
Initialize top_thread_message_id when reply_info is changed.
GitOrigin-RevId: 1cf186d342468dc9d5f0c2cd9c5052905a102f62
|
2020-09-30 14:01:40 +03:00 |
|
levlam
|
98524b6748
|
Improve Message.can_get_message_thread.
GitOrigin-RevId: 2f5df56934729c09b52c9324d8bd654570daa3c5
|
2020-09-30 11:57:52 +03:00 |
|
levlam
|
fcd5fd0eb7
|
Duplicate per-thread chat actions to the main chat.
GitOrigin-RevId: 10fe6e5e44f431409d41526d195b7c9bab2d39a6
|
2020-09-30 04:59:03 +03:00 |
|
levlam
|
aa180ebed2
|
Add MessagesManager::send_update_user_chat_action.
GitOrigin-RevId: ee85fa091db96aa88abf9aa13e7f2a6609b4e69e
|
2020-09-30 04:40:30 +03:00 |
|
levlam
|
b751acc3ae
|
Add td_api::getMessageThreadHistory.
GitOrigin-RevId: c5aaa396b1fcdd6704302296e407989ff19be0a0
|
2020-09-30 04:26:39 +03:00 |
|
levlam
|
22b695515c
|
Save linked_top_thread_message_id for channel messages.
GitOrigin-RevId: fc11105fc3fea044950362efdb94fa1a5de7e5a0
|
2020-09-29 15:06:08 +03:00 |
|
levlam
|
efb100cc9d
|
Allow to find messages in a thread in a different dialog.
GitOrigin-RevId: 1e874b2bd46408eda12a6d2b8ffe59000c4fe5a5
|
2020-09-29 13:51:18 +03:00 |
|
levlam
|
7cde6f0adb
|
Save local thread message ids.
GitOrigin-RevId: d0905e9b8ae4d6bed1d25d6ecc6c159d65dc87cd
|
2020-09-29 00:22:35 +03:00 |
|
levlam
|
ab99fc7a8d
|
Store yet unsent message IDs separately for different threads.
GitOrigin-RevId: f68b88a1ea05dcb3096357328635191cae02edcb
|
2020-09-28 16:08:35 +03:00 |
|
levlam
|
1d9989cbd7
|
Add top_thread_message_id column to the database.
GitOrigin-RevId: 83cd66038c36236305c7a9ed70df09561e89e190
|
2020-09-28 15:13:25 +03:00 |
|
levlam
|
e20b6ea9fc
|
Fix getRepliedMessage.
GitOrigin-RevId: 6fa5ba6ea7d880433a5b047c79cb49823cd26313
|
2020-09-28 14:37:45 +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
|
e294921d5f
|
Improve can_get_message_thread flag.
GitOrigin-RevId: 29d2e2870839407b446c435f6a24dc63bc535dbc
|
2020-09-28 13:55:05 +03:00 |
|
levlam
|
245185d260
|
Rename flag to can_get_message_thread.
GitOrigin-RevId: 7c34bb6f576421a27ed6aa8362075ed20577f743
|
2020-09-28 13:10:12 +03:00 |
|
levlam
|
8ab932460a
|
Fix deletion of all messages from user in the Replies chat.
GitOrigin-RevId: ac3ba0cb16d70fbec939558904f04b78a6907498
|
2020-09-27 15:00:04 +03:00 |
|
levlam
|
f1dcdc9a49
|
Fix reply_header for service messages.
GitOrigin-RevId: ff9b1a5bcdd557362a34282a66734fa077b6099c
|
2020-09-27 01:47:16 +03:00 |
|
levlam
|
d20bf6001f
|
Hide and show replies when reply markup is changed.
GitOrigin-RevId: 2cf53851a4ec8c72b72fffae15d256a7a5bd5761
|
2020-09-25 16:37:24 +03:00 |
|
levlam
|
1fe397e43d
|
Make optionValueInteger value int64.
GitOrigin-RevId: 7da1c4f051691ff7df31627115a9a37e6c5d5802
|
2020-09-25 00:46:16 +03:00 |
|
levlam
|
b9e27e28b9
|
Make ContactsManager::get_service_notifications_user_id static.
GitOrigin-RevId: 28c9d570e1b9bfc7987dc299b87c0bb8ac33b38e
|
2020-09-24 23:04:32 +03:00 |
|
levlam
|
90ee4bd63c
|
Minor fixes.
GitOrigin-RevId: ef4e2cfe4f198caec26daf04423eb26afedde5bb
|
2020-09-24 19:15:42 +03:00 |
|
levlam
|
e0adaebb91
|
Unify logging of request responses.
GitOrigin-RevId: ae4c0a3881a89aa235baa08c07ec97a914437d8c
|
2020-09-24 16:08:04 +03:00 |
|
levlam
|
089fda8d13
|
Add blockChatFromReplies method.
GitOrigin-RevId: 45591f36bd5482d567c758b42572b953babe2537
|
2020-09-24 15:29:34 +03:00 |
|
levlam
|
a1a04c3a0f
|
Support sending messages to threads with message album root.
GitOrigin-RevId: 59f9b1a557b5130f266e06eba1ad62f26d090769
|
2020-09-23 21:58:55 +03:00 |
|
levlam
|
2c8900704f
|
Correctly apply GetDiscussionMessage results.
GitOrigin-RevId: 2c73e76425bfb17635c02079933cbb6ec7ad6196
|
2020-09-23 18:26:27 +03:00 |
|
levlam
|
ca2465a025
|
Clear message thread draft if needed.
GitOrigin-RevId: efb50d58b77d249417937c9ff2ba292bc664a994
|
2020-09-23 02:09:30 +03:00 |
|
levlam
|
e2a596e11f
|
Add chat_id and message_thread_id to messageThreadInfo.
GitOrigin-RevId: 57945b02f90e74aba10e519f0f140e97f5447f9b
|
2020-09-23 02:02:41 +03:00 |
|
levlam
|
25676d7ff0
|
Allow to specify message_thread_id in sendMessage/sendMessageAlbum/sendInlineQueryResult.
GitOrigin-RevId: b9d3545b42355c04afe305f05c0366b0bf3095b0
|
2020-09-23 01:52:16 +03:00 |
|
levlam
|
a83a356e44
|
Support local draft messages in message threads.
GitOrigin-RevId: f75e36f803b0aea5c6aff83831c31e0a312898db
|
2020-09-22 19:45:27 +03:00 |
|
levlam
|
3522d8dae0
|
Repalce getDiscussionMessage with getMessageThread.
GitOrigin-RevId: 8f5a828b3d1decf9c9c9061eaa706362b2b0272b
|
2020-09-22 17:27:35 +03:00 |
|
levlam
|
cb3f390a92
|
Unify "log event" spelling.
GitOrigin-RevId: a1a491981596c56dbf7541d80ead1ea9f5d5bd04
|
2020-09-22 02:15:09 +03:00 |
|
levlam
|
9a8895e043
|
Add get_log_event_storer convenience method.
GitOrigin-RevId: 0651bb08a5c41917b69836140e3ff512ab571571
|
2020-09-22 01:39:45 +03:00 |
|
levlam
|
08ff725767
|
Support viewing messages in message threads.
GitOrigin-RevId: 5bde413f4192993e12b8e89ff5cb569421b90d78
|
2020-09-22 01:13:06 +03:00 |
|
levlam
|
e283ad8ac6
|
Use send_closure_later to load *Full to exclude possibility of loading them from the database synchronously and invoke some side effects such as message loading synchronously.
GitOrigin-RevId: 4c97db4ce3fd517274380eb9eea8e586c6f04399
|
2020-09-21 16:09:17 +03:00 |
|
levlam
|
621c920655
|
Add LogeventIdWithGeneration helper class.
GitOrigin-RevId: 838115e565a4b1b349d5248117ac869d2e73b6e1
|
2020-09-21 15:21:41 +03:00 |
|
levlam
|
3148dc0871
|
Add is_discussion_message.
GitOrigin-RevId: d3934040be55c5199accd330f1bc0807cbf3d6a3
|
2020-09-21 01:08:49 +03:00 |
|
levlam
|
2afbf38c33
|
Make universal offline getMessageLink method.
GitOrigin-RevId: 523db9044cfb2d41076ac98974d4a00f0740e2a6
|
2020-09-20 22:07:27 +03:00 |
|
levlam
|
8f4e9b2ed4
|
Add td_api::getMessageEmbeddingCode.
GitOrigin-RevId: cd26212418c3de5fc5046da456fad84f0f633d0d
|
2020-09-20 18:17:47 +03:00 |
|
levlam
|
ecc97d06b9
|
Fix chat blocking.
GitOrigin-RevId: c55076283c272019e0eb2908aab71efc09ad190a
|
2020-09-20 04:30:46 +03:00 |
|
levlam
|
446ba8d406
|
Replace getBlockedUsers with getBlockedChats.
GitOrigin-RevId: 431e0639095b9e01d1b897a52bca4430855560e4
|
2020-09-20 03:29:00 +03:00 |
|
levlam
|
54308a86fe
|
Replace blockUser and unblockUser with toggleChatIsBlocked.
GitOrigin-RevId: 454542b32a7b8efc487afed54c59ae3864ea138e
|
2020-09-20 03:00:01 +03:00 |
|
levlam
|
9ecb61965d
|
Move is_blcoked to Chat.
GitOrigin-RevId: 7d1fc672c9487feba0839b7af669323464243ffc
|
2020-09-20 01:54:40 +03:00 |
|
levlam
|
b593d2a367
|
Add total_count to getChats, searchChats and getGroupsInCommon method responses.
GitOrigin-RevId: 2177bf47b38239a2d6e437f17d9f694ee5c31521
|
2020-09-20 00:28:26 +03:00 |
|
levlam
|
dad48976b5
|
Add unread status in message threads.
GitOrigin-RevId: ed0fb2fc705b9539001b365fd5aa07d762d9a382
|
2020-09-19 22:01:28 +03:00 |
|
levlam
|
b343892944
|
Update layer 119.
GitOrigin-RevId: dc12a78b697774a8bff24152a39ca2bbdc641fe2
|
2020-09-19 14:32:18 +03:00 |
|
levlam
|
5b07557f3d
|
Support receiving typings inside a message thread.
GitOrigin-RevId: ccedc84e6066d37835e560929c69c3f2cb010dcf
|
2020-09-18 20:15:12 +03:00 |
|
levlam
|
bda5a3c5bd
|
Allow sending chat actions inside message thread.
GitOrigin-RevId: 6ad0b659f957013fa493386ad808eb6767399253
|
2020-09-18 19:42:31 +03:00 |
|
levlam
|
b45ccc6d14
|
Update layer 119.
GitOrigin-RevId: fba8e1e0e8cf9b6fda11ab3762bd6efca5865eb8
|
2020-09-18 18:32:59 +03:00 |
|
levlam
|
8405b08f0a
|
Support links to comments in getMessageLinkInfo.
GitOrigin-RevId: 5f52a6bbf183c01423724bc540af52f39463d2fe
|
2020-09-18 04:14:59 +03:00 |
|
levlam
|
153521be4f
|
Check message dialog in GetDiscussionMessageQuery.
GitOrigin-RevId: 7131e2d04e9f4ed65aa99176cb17d28c9b3851d4
|
2020-09-18 01:43:56 +03:00 |
|
levlam
|
1da8d859c9
|
Add for_group and for_comment in getMessageLink.
GitOrigin-RevId: 1ca027280f9e1013a1ad0ba20ed54ffbbcad2bb6
|
2020-09-17 16:47:27 +03:00 |
|
levlam
|
e7a835fd55
|
Improve get_public_message_link.
GitOrigin-RevId: a1f8106c23d438f0bdb1ff4c1af3ef4c0f2391bd
|
2020-09-17 00:55:39 +03:00 |
|
levlam
|
5ef1b0e873
|
Add last_read_comment_message_id to MessageInteractionInfo.
GitOrigin-RevId: e03cecb40db8c4c013c1c6aa16ff7eb4acba5c6a
|
2020-09-16 20:57:34 +03:00 |
|
levlam
|
7e6cb9a8e4
|
Handle updateReadDiscussion.
GitOrigin-RevId: 2cb783768934ee67bad98511edfc061ae6aa879b
|
2020-09-16 16:41:08 +03:00 |
|
levlam
|
2b5b6386fc
|
Update layer 119.
GitOrigin-RevId: 5a357984b79e16c155b209ab4cfc146a137519c9
|
2020-09-16 15:42:39 +03:00 |
|
levlam
|
33f315cfbb
|
Return result to the GetDiscussionMessageQuery promise.
GitOrigin-RevId: 9e950f47cb9e99e199ea03e31dd0cd12377adaec
|
2020-09-15 23:18:08 +03:00 |
|
levlam
|
b5fc3012b3
|
Add max_message_id and max_read_message_id to MessageReplyInfo.
GitOrigin-RevId: f58dafcd0abd825019010b88f3e9d2835ad69311
|
2020-09-15 19:45:45 +03:00 |
|
levlam
|
cd6cfc52ac
|
Add td_api::getDiscussionMessage.
GitOrigin-RevId: 5adf174ae08f0cf3c430ea0222f818a54988823f
|
2020-09-15 17:07:34 +03:00 |
|
levlam
|
2cca74bf80
|
Use messages.getReplies when appropriate.
GitOrigin-RevId: cba140893d0b5d4c6d2b7f4c364947019b9e85d2
|
2020-09-15 02:42:59 +03:00 |
|
levlam
|
eeac13ce8d
|
Do not update forward count when receive discussion message.
GitOrigin-RevId: de9dc38e8a8bb3747d4c955c46ddaf374b408959
|
2020-09-15 02:00:28 +03:00 |
|
levlam
|
e32ce60f38
|
Fix reply_in_dialog_id in td_api::message.
GitOrigin-RevId: 0d8257e8f9e56df845c47bfb7696c38e5fd3f701
|
2020-09-15 01:49:40 +03:00 |
|
levlam
|
ac197bec10
|
Fix warning.
GitOrigin-RevId: a89389b76fb188a92c94f737452d2be7bef28adc
|
2020-09-14 17:52:04 +03:00 |
|
levlam
|
12577df8c5
|
Fix CHECK.
GitOrigin-RevId: 17c371798e0a67e4af25d0653c7edf604a33ab03
|
2020-09-14 15:47:38 +03:00 |
|
levlam
|
e96e8a45f8
|
Increase message cache time to 30 minutes for bots.
GitOrigin-RevId: ef7a6833d62ce356012aba043c526199a200717d
|
2020-09-14 12:48:10 +03:00 |
|
levlam
|
3ae535eae7
|
Make get_message_dialog_id static.
GitOrigin-RevId: 66761856feedcd56b491f19538b6ef61260ad5e8
|
2020-09-14 02:32:37 +03:00 |
|
levlam
|
a6463970b1
|
Delete received empty channel messages.
GitOrigin-RevId: f6754fb7381c2e72983874033ac1e2bbc2293c89
|
2020-09-14 02:23:02 +03:00 |
|
levlam
|
d940b86113
|
Drop public message links from cache when dialog username changes.
GitOrigin-RevId: 008652cfb854f5298c7e9522fc086c78f1a66ecd
|
2020-09-14 01:44:55 +03:00 |
|
levlam
|
e082b2ac49
|
Store public message links separately for each dialog.
GitOrigin-RevId: 2b227d07c8ec7c42cabd7af78ffde3ff07799f92
|
2020-09-14 01:39:34 +03:00 |
|
levlam
|
1cd9f5d8c9
|
Support generating of public links for comment messages.
GitOrigin-RevId: 68d9a0260e60719f129e05d32fcbf756e93fa5d4
|
2020-09-14 01:12:24 +03:00 |
|
levlam
|
ed10f1851c
|
Keep reply_count only in discussion supergroups.
GitOrigin-RevId: f9f603e89eba8dcb9a8b92574c6e15ecace9cb4e
|
2020-09-13 17:57:06 +03:00 |
|
levlam
|
fb0a43ee93
|
Automatically update message interaction info when linked channel is changed.
GitOrigin-RevId: 248afe64dbb6fe2e3e4fe72e474220e6c257d286
|
2020-09-13 17:52:39 +03:00 |
|
levlam
|
8c43f751cd
|
Synchronously send media group to keep the relative message order.
GitOrigin-RevId: 7f6f0f1b47dae56f3bc459f81fc2922fdc7b46dc
|
2020-09-13 01:28:14 +03:00 |
|
levlam
|
d6f5675cb2
|
Always use send_closure_later in *_message_ready_to_send to keep the relative message order.
GitOrigin-RevId: 711dec50273bd457640d8515e583f5365ccc567d
|
2020-09-13 00:51:24 +03:00 |
|
levlam
|
c60bdaeeba
|
Add reply_to_message_id support in message copies.
GitOrigin-RevId: 1304da421b63721ba15a93e35b06cd6514190b71
|
2020-09-12 22:24:04 +03:00 |
|
levlam
|
85be738d9d
|
Support automatic forward of media albums as albums.
GitOrigin-RevId: cb1f6446eef0b49f944491d07e2d44fb67a2a1c8
|
2020-09-12 20:50:16 +03:00 |
|
levlam
|
22265ab338
|
Repair sender_dialog_id in channel messages.
GitOrigin-RevId: 71cbcb1252798f54da9c40b2c7838ea5f9327683
|
2020-09-12 17:55:52 +03:00 |
|
levlam
|
80c6f207fb
|
Do not allow switch inline buttons in anonymous messages.
GitOrigin-RevId: 6f0d88ca9f926a42c12f3859035ae1a66f90876e
|
2020-09-12 17:45:24 +03:00 |
|
levlam
|
324c0acbea
|
Repair sender_dialog_id for old automatically forwarded to the discussion group messages.
GitOrigin-RevId: f567e646f1d00e60523ea213ca2476e92dfef8d3
|
2020-09-12 17:31:20 +03:00 |
|
levlam
|
7842beed95
|
Exit early some functions for bots.
GitOrigin-RevId: b155610c1c61846d1c113b07cce4403333fa952e
|
2020-09-12 17:10:06 +03:00 |
|
levlam
|
f24ec0c490
|
Disallow unsupported reply markup by anonymous bots.
GitOrigin-RevId: 8bcd5df60b1938e6fc172d87c0d7a37bc59db205
|
2020-09-12 13:20:39 +03:00 |
|
levlam
|
a925c22469
|
Do not send dialog actions by anonymous administrators.
GitOrigin-RevId: c67c1fc5b2ca97fb4a261d224af42b0be49f6807
|
2020-09-11 22:01:55 +03:00 |
|
levlam
|
f5572725c5
|
Support sending messages by anonymous administrators.
GitOrigin-RevId: a84245ea5e27b7e7fe5d9b303f5456d321887136
|
2020-09-11 21:06:01 +03:00 |
|
levlam
|
2aaf1ebe3f
|
Simplify forward count updating.
GitOrigin-RevId: 7986012adffddb95728c2f08af46ccc32848feb0
|
2020-09-11 20:27:10 +03:00 |
|
levlam
|
5ffca2bffb
|
Add send_update_message_interaction_info.
GitOrigin-RevId: 83ad785a336f4ca12f5dea4e9a9c8cc93e2e98a9
|
2020-09-11 20:20:46 +03:00 |
|
levlam
|
db5adecbda
|
Update reply count on new message receiving.
GitOrigin-RevId: ba0831b13ee0ee816fee8a4cd8bd2878803e1453
|
2020-09-11 20:12:31 +03:00 |
|
levlam
|
7df0c5084a
|
Fix updateShortMessage handling.
GitOrigin-RevId: 35c667af5646654ed9f8495774043adb10b12faf
|
2020-09-11 17:51:01 +03:00 |
|
levlam
|
cd3bf3618b
|
Show comment button only if the linked channel is still the same.
GitOrigin-RevId: cc8f31a56e0de7ace7f8b1a756dd34e14e4a5457
|
2020-09-11 14:51:13 +03:00 |
|
levlam
|
2c0a9367ac
|
Simplify adding dialog dependencies.
GitOrigin-RevId: 27c9fcc1221e60960f0183e9d792121ca5e8fb0a
|
2020-09-10 23:24:33 +03:00 |
|
levlam
|
eb72b64c80
|
Add reply_in_dialog_id and message_thread_id support.
GitOrigin-RevId: 4b8a21566fbf6d31a6f4ef2b19f787361e2d1a1a
|
2020-09-10 16:29:10 +03:00 |
|
levlam
|
aa6c746e8d
|
Add MessagesManager::fix_server_reply_to_message_id.
GitOrigin-RevId: cafb49b6885fc992ff4867a254771a1fa9a6084b
|
2020-09-10 14:54:34 +03:00 |
|
levlam
|
4d47247fc1
|
Support chats as recent repliers.
GitOrigin-RevId: 6da36600e99c655f4484f09fc787382481a3148b
|
2020-09-09 02:32:07 +03:00 |
|
levlam
|
f05b8cec61
|
Update layer 119. Add sender_chat_id.
GitOrigin-RevId: ac837165b7bbd57631456291503e688339e04d03
|
2020-09-08 22:08:10 +03:00 |
|
levlam
|
0540ae7b60
|
Add min_date/max_date to searchMessages.
GitOrigin-RevId: a340969e431dd2de018461f3904da6569a91b166
|
2020-09-08 14:58:02 +03:00 |
|
levlam
|
1a6ca88777
|
Support search within message thread.
GitOrigin-RevId: 8ea2ac97000527d743b5a983eed57c3dd206b76c
|
2020-09-08 14:17:56 +03:00 |
|
levlam
|
3aee352751
|
Add MessageReplyInfo.{cpp,h}.
GitOrigin-RevId: 0f5b18fdbaac549d4c5a963b067056824d373c4e
|
2020-09-07 14:07:40 +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
|
dd722844bd
|
Early conversion to MessageSearchFilter.
GitOrigin-RevId: c74a75329a873842ee30ce45515a05024da26153
|
2020-08-22 10:48:36 +03:00 |
|
levlam
|
46f42d80b6
|
Move MessageSearchFilter to separate files.
GitOrigin-RevId: 07b7df009b4e74a145b5ebc1966190630545baef
|
2020-08-22 10:27:13 +03:00 |
|
levlam
|
7d6546b27a
|
Rename SearchMessagesFilter to MessageSearchFilter.
GitOrigin-RevId: ac477d22eae9382c6e9d63e184f10490c1bf4292
|
2020-08-22 10:05:51 +03:00 |
|
levlam
|
f28373a71f
|
Allow to search messages with empty query and non-empty filter.
GitOrigin-RevId: bf8e2a0ab5dc2c48b3760ec595e6d22e9da965a5
|
2020-08-21 21:21:52 +03:00 |
|
levlam
|
fcd1cda312
|
Add filter support to searchMessages.
GitOrigin-RevId: 571b0ee894296c1e8c947939f7098a1566731461
|
2020-08-21 17:40:05 +03:00 |
|
levlam
|
e848087e24
|
Support sending silent messages in secret chats.
GitOrigin-RevId: fe15f9526bd5066b596e7e31d28bd9bab20cf719
|
2020-08-21 15:38:23 +03:00 |
|
levlam
|
ca3d263c25
|
Add total_count to FoundMessages.
GitOrigin-RevId: ade2685b5d19dfb5cf31d4e952074879393915ee
|
2020-08-21 15:08:47 +03:00 |
|
levlam
|
f9c0ddae06
|
Add getMessagePublicForwards method.
GitOrigin-RevId: a0b16c241bcf3276c245423f7fff3f41751883b6
|
2020-08-21 14:47:43 +03:00 |
|
levlam
|
605e0844fb
|
Use string new_offset in FoundMessages.
GitOrigin-RevId: b0d013e7d2513cc39f1c07013c837e6adb7e924a
|
2020-08-18 15:10:03 +03:00 |
|
levlam
|
a9fa751689
|
Automatically update forward count wnen receiving a forwarded message.
GitOrigin-RevId: a33ceb0a90cea9de89ec84c6d98c39078f3b115b
|
2020-08-01 05:54:39 +03:00 |
|
levlam
|
53ca6e4f4a
|
Add td_api::getMessageStatistics.
GitOrigin-RevId: f5d32ef829b91aa1fea59ea88b665fe39d32642c
|
2020-08-01 05:19:54 +03:00 |
|
levlam
|
23b3eb4931
|
Update layer to 118. Support message forward count.
GitOrigin-RevId: 10f59fede8b4a86c871949fc721fedd1d615c4bf
|
2020-07-31 05:50:11 +03:00 |
|
levlam
|
83c9f5180b
|
Fix folders creation during logging out.
GitOrigin-RevId: cc3b2cfbdea61fb11a692a090ddee3aa63f4b9c8
|
2020-08-29 12:51:42 +03:00 |
|
levlam
|
441b520a5e
|
Add some debug logging.
GitOrigin-RevId: 633f8b46b571123275ed345a062c9fe2f4091640
|
2020-08-29 03:05:15 +03:00 |
|
levlam
|
bc94db66d0
|
Improve logging in MessagesManager::set_dialog_order.
GitOrigin-RevId: 6509408a28ed063ecc4d9d48b0dedfeb1d854e7f
|
2020-08-29 01:56:47 +03:00 |
|
levlam
|
e8c630180f
|
Fix archive chat count initialization in case there are known pinned chats.
GitOrigin-RevId: b95da9e2c92116fd6b3b1615e579d335b2a41920
|
2020-08-26 01:09:13 +03:00 |
|
levlam
|
3fdf575fb3
|
Disable updateChatLastMessage for bots, because they don't have chat list and message history.
GitOrigin-RevId: e1cdedd63da4c1c6e8c4b5d355855e55a24a3e47
|
2020-08-20 20:36:27 +03:00 |
|
levlam
|
9344a320ea
|
Move logging from WARNING to INFO.
GitOrigin-RevId: 4ca636fa82557dfaf79edd1c1668b744eadac1bb
|
2020-08-20 11:03:42 +03:00 |
|
levlam
|
4ea6515cae
|
Keep view counter for forwarded to a non-channel chat scheduled messages.
GitOrigin-RevId: 5a7b4c8237a6d07133fac8d6a533576a3af567f7
|
2020-08-20 00:47:00 +03:00 |
|
levlam
|
29b44b28d4
|
Copy message view count if message is forwarded not to a channel.
GitOrigin-RevId: f0c555b1123841eb1af84e16b183349712af69d2
|
2020-08-20 00:00:42 +03:00 |
|
levlam
|
a2e7a0b12d
|
Support receiving silent messages in secret chats.
GitOrigin-RevId: 59df982a7ac96c5490eb90ef8def522ac3a47b53
|
2020-08-19 18:15:40 +03:00 |
|
levlam
|
7399f08426
|
Remove expected error logging.
GitOrigin-RevId: 42182c536714471990ec89fea64b59074d0e8ce1
|
2020-08-19 15:33:51 +03:00 |
|
levlam
|
732902a00f
|
Remove expected error logging.
GitOrigin-RevId: 8f2df5d7cfe0594e8648ccfa56ef0cee06178292
|
2020-08-19 13:04:22 +03:00 |
|
levlam
|
afc1d789de
|
Fix chat photo deletion.
GitOrigin-RevId: c332a9580fbe5b9c8cd670a848f27c1eab05f126
|
2020-08-18 21:55:38 +03:00 |
|
levlam
|
be299897c3
|
Do not copy message counter to forwarded messages.
GitOrigin-RevId: 864ca542b5b63ce87bc04575429f21f418e7ccfe
|
2020-08-14 17:31:23 +03:00 |
|
levlam
|
6a30258d39
|
Add reply_markup to copy options.
GitOrigin-RevId: 94c83ee8fba2a13acde5114f1efee9fb2c6080da
|
2020-08-11 11:52:38 +03:00 |
|
levlam
|
8fb53c6ec2
|
Allow to replace caption when message is copied.
GitOrigin-RevId: 6e190830d66916de2deb0b371185b7db6ea42b00
|
2020-08-11 10:35:19 +03:00 |
|
levlam
|
1bb853a3ef
|
Fix error logging condition.
GitOrigin-RevId: 97d494c0eeb53fc86f875e88584b4da95aee57c0
|
2020-08-10 09:35:30 +03:00 |
|
levlam
|
de8d92bead
|
Add MessagesManager::set_dialog_unread_mention_count.
GitOrigin-RevId: 3f4874fd25886c502f69a187426730c1b9a0c90b
|
2020-08-10 09:19:08 +03:00 |
|
levlam
|
12a79efbdc
|
Improve log messages.
GitOrigin-RevId: 23d2e596dd9ce28d780fe125abd468fef132c61b
|
2020-08-10 08:07:01 +03:00 |
|
levlam
|
16c02c6b25
|
Rename sendMessageOptions to messageSendOptions.
GitOrigin-RevId: 70270e56ad61e21ad22f207adce6c27c2873f374
|
2020-08-09 15:14:30 +03:00 |
|
levlam
|
a404948707
|
Add MessageCopyOptions.
GitOrigin-RevId: a61b93c3c215c42c9a7f30195cc637187472751e
|
2020-08-09 14:18:08 +03:00 |
|
levlam
|
b1adbcba05
|
Suppress warning about changed chat order when last message is not saved to database.
GitOrigin-RevId: 23ee4bc68a3070fc3b9ed8edd24ece13a81a9a8a
|
2020-08-08 23:00:51 +03:00 |
|
levlam
|
8ac59dc77d
|
Improve update output to log.
GitOrigin-RevId: 7d61ef046b867a4f1c72f548deb93e208830edfd
|
2020-08-05 00:13:18 +03:00 |
|
levlam
|
6bc45e1c2e
|
Save empty pinned chats list after it is received first time.
GitOrigin-RevId: 32559feeaa60e4d30387b3227a8990b625944137
|
2020-08-02 03:56:45 +03:00 |
|
Arseny Smirnov
|
166682865a
|
DialogDb, MessageDb, MessagesManager: abort if an error happens during a transaction
GitOrigin-RevId: 63751130e05ed6d37928646c9a89ff35166e78e8
|
2020-07-27 18:03:22 +03:00 |
|
levlam
|
09036ad929
|
Invalidate and reload UserFull after receiving first incoming message from the user to fix chatActionBar.
GitOrigin-RevId: 34c0492433475fc49f01159615462e7b7edf7d0b
|
2020-07-10 21:56:28 +03:00 |
|
levlam
|
c1c431e969
|
Add distance to chatActionBarReportAddBlock.
GitOrigin-RevId: 35d4e7228ab9aec2911cc15556c92e47ac974bc6
|
2020-07-10 12:44:02 +03:00 |
|
levlam
|
d1e4c1dbc4
|
Add can_unarchive flag to chatActionBar.
GitOrigin-RevId: 9eaf7172e83c668677bed40206b27f4e93e13451
|
2020-07-09 23:14:41 +03:00 |
|
levlam
|
6476e05d1e
|
Change input photo type to InputChatPhoto in setChatPhoto.
GitOrigin-RevId: fae612a07ffdf71f393ffea7951a76808b90f7b3
|
2020-07-08 19:40:23 +03:00 |
|
levlam
|
cf93b3c69c
|
Support initial folder for secret chats.
GitOrigin-RevId: 57894f3ff767a0b24bac08c8251f51f3e4722b6a
|
2020-06-30 12:11:22 +03:00 |
|
levlam
|
a297294aac
|
Update layer to 116.
GitOrigin-RevId: 7c12605195674f0b48dbc05734e99bffb2062d0c
|
2020-06-24 11:45:36 +03:00 |
|
levlam
|
193c7c6293
|
Rename chatPhotoFullInfo to chatPhoto.
GitOrigin-RevId: f97da057f1f74ccce283d21d1cfdd827bf51c871
|
2020-07-07 13:48:56 +03:00 |
|
levlam
|
d484baa1ee
|
Rename chatPhoto to chatPhotoInfo.
GitOrigin-RevId: e301571c29719009148353161da483de9902eb8d
|
2020-07-07 13:00:56 +03:00 |
|
levlam
|
9a92f6d571
|
Simplify get_photo_object.
GitOrigin-RevId: 08c8fb7fe4eadb4bff56198d5834c708e032979b
|
2020-07-06 18:45:43 +03:00 |
|
levlam
|
c56f2a8c1d
|
Use chatPhotoFullInfo where appropriate.
GitOrigin-RevId: ffde532a24735ddac2536a448100ac8884adba83
|
2020-07-06 15:34:07 +03:00 |
|
levlam
|
06bd4fa734
|
Add DialogParticipant validness checks.
GitOrigin-RevId: 74ca340bd890f0bd913a9f0d7aeb3e81f3829cf7
|
2020-06-30 17:46:36 +03:00 |
|
levlam
|
d5b4c57993
|
Add inputMessageDocument.force_file.
GitOrigin-RevId: 7f2780ba7f333e5f8df9c28bab429b8b12eaf26c
|
2020-06-22 02:02:21 +03:00 |
|
levlam
|
4f005e3356
|
Add MessagesManager::get_input_peer_force for offset_peer.
GitOrigin-RevId: 45ec6bb84f679c2b843f7487105069c3aa64341f
|
2020-06-20 03:45:25 +03:00 |
|
levlam
|
0275ecdcbc
|
Fix "Try to" usages.
GitOrigin-RevId: 4ff6d26737f67180a1e9a1289f7f7fb428828b08
|
2020-06-18 05:02:18 +03:00 |
|
levlam
|
20099b730e
|
Improve logging.
GitOrigin-RevId: 0740f7fc674e80a6be76f8cc8c847a22a0b6be90
|
2020-06-17 23:57:23 +03:00 |
|
levlam
|
96b18f3ad8
|
Fix loading empty list of pinned chats from binlog.
GitOrigin-RevId: 21f90fe3f9f869fe4b4fdab228a5bae1975728ae
|
2020-06-16 15:21:37 +03:00 |
|
levlam
|
71ec8cc655
|
Send updateChatFilters for empty list of chat filters after logging in.
GitOrigin-RevId: 18176b0c9bd08a1552189bb35eb46a982a33732d
|
2020-06-08 01:22:59 +03:00 |
|
levlam
|
eb9efdcba1
|
Fix edit_dialog_filter.
GitOrigin-RevId: 43043c6b0e054341d6c7c69e9c0dff7440224801
|
2020-06-07 23:59:16 +03:00 |
|
levlam
|
41d3a4dc33
|
Add disable_get_dialog_filter_ and more checks that bots doesn't use filters.
GitOrigin-RevId: a9806876ab714ea145dc0ddfd37270ca24e474ac
|
2020-06-07 23:45:11 +03:00 |
|
levlam
|
0b46b93bc8
|
Add MessagesManager::do_update_list_last_dialog_date.
GitOrigin-RevId: 337bcc66893ef8c47224d77d5ab54d841936c836
|
2020-06-07 23:22:33 +03:00 |
|
levlam
|
135be34b0f
|
Add MessagesManager::do_update_list_last_pinned_dialog_date.
GitOrigin-RevId: 9059bce326b65d2b7d5b260fdb7fcb52918ba072
|
2020-06-07 23:07:46 +03:00 |
|
levlam
|
1e53b71532
|
Better createChatFilter/editChatFilter return type.
GitOrigin-RevId: 7c9d51add4bc3e2e7bfd92483b2daad83209503b
|
2020-06-07 22:16:30 +03:00 |
|
levlam
|
deb006416b
|
Add DialogFilter::get_chat_filter_info_object.
GitOrigin-RevId: e61ce8a03c53ee052283abf272edf11a9aaa6564
|
2020-06-07 21:51:21 +03:00 |
|
levlam
|
275150b67f
|
Load pinned dialogs if needed in getChats.
GitOrigin-RevId: 753be1d7a3b1009935bb17187e8ee971a327606c
|
2020-06-07 00:41:18 +03:00 |
|
levlam
|
b7a403f8c5
|
Immediately reload dialog filters after restart if ignore background updates.
GitOrigin-RevId: 254584dcd936425006b37753ae796503d0342957
|
2020-06-06 23:29:08 +03:00 |
|
levlam
|
89ca6f6c51
|
Do not save pinned dialogs to binlog if there is no message database.
GitOrigin-RevId: 2d3de7cc40f471338bd95a5f72ce4f6b8750c61b
|
2020-06-06 23:22:12 +03:00 |
|
levlam
|
a87b1b4b75
|
Return parallel first chat list loading.
GitOrigin-RevId: 236bbe8ed898f8ef1dae2add8998a78e4ec1b5f7
|
2020-06-06 23:20:04 +03:00 |
|
levlam
|
b5b1c4c3a6
|
Fix loading of pinned dialogs.
GitOrigin-RevId: 1ee93b98a10d5f24899d0793e5c9ce1bf3807a85
|
2020-06-06 22:41:03 +03:00 |
|
levlam
|
e046e2ced4
|
Improve need_dialog_in_filter behavior.
GitOrigin-RevId: 56ccaa30c748e1ac4c5850185f0682c61556b17e
|
2020-06-06 00:53:13 +03:00 |
|
levlam
|
23df5601fe
|
Fix tdweb CE.
GitOrigin-RevId: 06d34855850e771c6aa6bca756dc8d1f4c700d09
|
2020-06-05 16:43:36 +03:00 |
|
levlam
|
88f6e483fe
|
Fix warning.
GitOrigin-RevId: 601d5141c123ee4928ea309b1846511fcf6d6b62
|
2020-06-05 08:16:38 +03:00 |
|
levlam
|
e14601e878
|
Process errors for dialog list loading.
GitOrigin-RevId: ecd7b6fe7f0686c1c98aa6896e86b9de5c8baee1
|
2020-06-05 07:21:02 +03:00 |
|
levlam
|
c32878495e
|
Continue dialog list loading from server if needed.
GitOrigin-RevId: 28709a473fcbd72f42b3b4322ab43c4d571c67a1
|
2020-06-05 06:57:36 +03:00 |
|
levlam
|
f47a287bf8
|
Load dialog filters without database.
GitOrigin-RevId: 2fdeaa9bfc700a44b5c76001dadea2b922a80d51
|
2020-06-05 04:36:46 +03:00 |
|
levlam
|
0e0b7d1bb7
|
Improve error messages.
GitOrigin-RevId: 054f148623cdf23b05c9594ed27d532b42420877
|
2020-06-05 04:13:55 +03:00 |
|
levlam
|
c3ede7ac23
|
Update mute_until in update_dialog_unmute_timeout.
GitOrigin-RevId: 37b978f0ab78ce5495cbf854fa0f796fbf453448
|
2020-06-05 04:05:43 +03:00 |
|
levlam
|
cbf77e3786
|
Add synchronous td_api::getChatFilterDefaultIconName.
GitOrigin-RevId: 15072bd5fffdd55e9879e0e5076a567bfe56f432
|
2020-06-05 03:43:13 +03:00 |
|
levlam
|
074040903b
|
Fix total notification count in chats with unzynchronized notification settings.
GitOrigin-RevId: 3cb7093a5b2b349c26d84f290924cbdb7d54b545
|
2020-06-05 02:59:05 +03:00 |
|
levlam
|
d364bdbb5b
|
Add are_pinned_dialogs_inited_.
GitOrigin-RevId: f1a9333cf7c8bab0a952dc6417dbdc40f9f16638
|
2020-06-04 17:30:10 +03:00 |
|
levlam
|
835038023a
|
Update last dialog date only after all received chats are added to prevent out of order updateChatPosition for some random previously received chats.
GitOrigin-RevId: ec99596467502b705f51cac68286c15aa3517583
|
2020-06-04 16:22:51 +03:00 |
|
levlam
|
7fe9f1ca62
|
Update lists of received from server dialog only after it is fully updated.
GitOrigin-RevId: c426df9e04100d04557429e8eb3fb14ba897cf7a
|
2020-06-04 15:31:29 +03:00 |
|
levlam
|
4472fa4530
|
Do not update order of being added chat.
GitOrigin-RevId: 99a27adc3858336ac403ee306d4140671aaf696b
|
2020-06-04 02:29:58 +03:00 |
|
levlam
|
36b8ab4d1d
|
Fix MessagesManager initialization after authorization.
GitOrigin-RevId: bf9c4068876e778316218997c41392228633ab7d
|
2020-06-04 02:02:17 +03:00 |
|
levlam
|
c9929b9528
|
Do not load dice sticker sets before init.
GitOrigin-RevId: f9c26c05c433a31e97b2fb8bcdcf5344dfe041c0
|
2020-06-04 01:19:37 +03:00 |
|
levlam
|
1f1307ab42
|
Log tries to send requests before authorization.
GitOrigin-RevId: 73d4efdaccf4564fa8558140380a845e2cc89c4b
|
2020-06-04 00:22:21 +03:00 |
|
levlam
|
7680ccf967
|
Do not reload dialog filters before authorization.
GitOrigin-RevId: c76d4e0a87a24c41a82d288534b4c3c201bf963b
|
2020-06-03 19:21:59 +03:00 |
|
levlam
|
44c141a776
|
Add more logging in CHECK.
GitOrigin-RevId: bdf8e0569105ef2033af8a4ac3bd2c82867dbc1f
|
2020-06-03 18:03:16 +03:00 |
|
levlam
|
1e6a2faecb
|
Change scope mute_until in update_scope_unmute_timeout.
GitOrigin-RevId: 646066978d7bf5f4b2ee98f7e8d84f670e6bfa1f
|
2020-06-02 20:31:33 +03:00 |
|
levlam
|
3e3409ee9b
|
Add schedule_scope_unmute.
GitOrigin-RevId: 4518854ffdc7e3d5dc0e7d74343ded9390d61dff
|
2020-06-02 20:21:56 +03:00 |
|
levlam
|
a0cb4aa260
|
Add schedule_dialog_unmute.
GitOrigin-RevId: 05fd1e8bbfc08f5a27217085050b3a0ec14a191e
|
2020-06-02 20:02:25 +03:00 |
|
levlam
|
25f77585c9
|
Move DialogFilter implementation to separate files.
GitOrigin-RevId: c58b7f42811242882f00d48152417826e465b5bc
|
2020-06-02 13:58:53 +03:00 |
|
levlam
|
6599d76837
|
Merge local and remote filter changes.
GitOrigin-RevId: 4413966eb1c6dd1bcf4400b5ca19ad30ac7342d1
|
2020-06-02 05:40:17 +03:00 |
|
levlam
|
492c18523f
|
Move check_dialog_filter_limits inside DialogFilter.
GitOrigin-RevId: f4daa38456c378856a3ba3c87ce841aa0b9154c2
|
2020-06-02 04:26:40 +03:00 |
|
levlam
|
7aaf6a4641
|
Rename is_similar to are_similar.
GitOrigin-RevId: 18988afaefde2f228e9e0c5be82aaa094993f0c2
|
2020-06-02 04:18:31 +03:00 |
|
levlam
|
f234440d3d
|
Improve method names.
GitOrigin-RevId: 34ec6eb1d3f3db02b946e147673a64c269c49132
|
2020-06-01 23:09:35 +03:00 |
|
levlam
|
01b319f22b
|
Add recommended filters at the beginning of the list.
GitOrigin-RevId: 850744bddec52d19952a599b3ac9a8fca4667bf9
|
2020-06-01 18:05:32 +03:00 |
|
levlam
|
6e42d79769
|
Replace emoji with icon_mane in chat filters.
GitOrigin-RevId: 61b30d075e330a92935ea2c8cfc0bf78fb32958b
|
2020-06-01 16:55:31 +03:00 |
|
levlam
|
5401fd636a
|
Add more checks for is_bot.
GitOrigin-RevId: 808f15d4d7f55dba3515ee8f2dc42b292069a14d
|
2020-06-01 01:48:35 +03:00 |
|
levlam
|
14971c853d
|
Make updateDialogFilters persistent.
GitOrigin-RevId: c89e8d3578ceb7fe21cabfad284c75cd9772001d
|
2020-06-01 00:34:45 +03:00 |
|
levlam
|
5fca85a334
|
Reload filters to repair their order if the server added new filter to the beginning of the list.
GitOrigin-RevId: 4d515573077bae07dba6aa28640f3c5038033fb2
|
2020-06-01 00:28:38 +03:00 |
|
levlam
|
bffca57da1
|
Preload pinned message only for from_update messages to prevent cycles and because only such messages can cause updating of last_new_message_id.
GitOrigin-RevId: 153f8699db19652f142334ef5b3413276892e2cd
|
2020-05-31 22:42:58 +03:00 |
|
levlam
|
9d7d04e159
|
Improve logging.
GitOrigin-RevId: a3ac8554a60048ecfadddc3c6d4054c759beefba
|
2020-05-31 22:31:27 +03:00 |
|
levlam
|
52df5760f1
|
Improve logging.
GitOrigin-RevId: d1118ce761fde5b95d33939f78a10ea56bef51f9
|
2020-05-31 22:26:11 +03:00 |
|
levlam
|
2098d08244
|
Add td_api::getChatListsToAddChat.
GitOrigin-RevId: 2765a827af72de72fd0faae815a51ba8c9f59459
|
2020-05-31 03:50:52 +03:00 |
|
levlam
|
8aa8774dc7
|
Move get_chat_list_object to DialogListId.
GitOrigin-RevId: ba28ac3e722f3308ca3a8c20419b6d9a8642d6cc
|
2020-05-31 02:59:50 +03:00 |
|
levlam
|
5477233af9
|
Replace setChatChatList with addChatToList.
GitOrigin-RevId: c336e0e98b008b1571c4267d466b8cb0f3306957
|
2020-05-31 00:48:33 +03:00 |
|
levlam
|
1462d1ff3c
|
Add InputDialogId::contains.
GitOrigin-RevId: 89fa1ee325cfebfb02e0aa3f93e658442fc4898a
|
2020-05-31 00:26:22 +03:00 |
|
levlam
|
4db8cdc9d9
|
Ensure that loaded from binlog server dialog filters are distinct.
GitOrigin-RevId: 89cdffd0d284dcd36c539dc1a4259b1bc445d4b8
|
2020-05-29 09:35:52 +03:00 |
|
levlam
|
45b90e2163
|
Fix MessagesManager::on_update_dialog_filter.
GitOrigin-RevId: 2678a2f7a9d7b2039dcea5ce27a88b86e1694113
|
2020-05-29 09:27:26 +03:00 |
|
levlam
|
7d34c93683
|
Skip nonjoined chats in td_api::chatFilter.
GitOrigin-RevId: 1f50c89e1a716f11b4a2c26947f2e4d81a2f39a3
|
2020-05-29 09:19:24 +03:00 |
|
levlam
|
42b2e84e4a
|
Save changed dialog total count even if the sum is still the same.
GitOrigin-RevId: 7a3027bc5defba37c089368c71cfdc7e009a440e
|
2020-05-29 09:08:01 +03:00 |
|
levlam
|
3033f31525
|
Fix dialog total count and filter folder ids.
GitOrigin-RevId: dd645555834c675ab2454889d56b337d34aaf38b
|
2020-05-29 08:48:38 +03:00 |
|
levlam
|
ae42f2436e
|
Improve check that all included filter dialogs are distinct.
GitOrigin-RevId: 8a451f187bd11a82a42a583c31f1a3b18c8c7ead
|
2020-05-29 08:02:47 +03:00 |
|
levlam
|
b89330c83e
|
Remove pinned dialogs with default order.
GitOrigin-RevId: 004110a578a0230877648215cc849b78d68cfda6
|
2020-05-29 07:44:57 +03:00 |
|
levlam
|
7dc2d13afe
|
Make set_dialog_is_pinned private.
GitOrigin-RevId: 3ef6116d16897b28997e7fa91c1d496fce4edee2
|
2020-05-29 06:57:55 +03:00 |
|
levlam
|
876c67d711
|
Fix updating is_pinned when receiving Dialog.
GitOrigin-RevId: 276719cb66e06d226146b09dfdc5b2cd588f989e
|
2020-05-29 06:07:51 +03:00 |
|
levlam
|
b8fa651764
|
Simplify check that dialog can't be pinned using that if dialog is removed from chat list, then it's order is default.
GitOrigin-RevId: 914dadfc2fb505eba295092f1f723771570b1bfc
|
2020-05-29 05:26:49 +03:00 |
|
levlam
|
3f4011364b
|
Ignore updateDialogPinned for dialog not from dialog list.
GitOrigin-RevId: c0e0c8fe9a07bc47d649b2f71f93ed4e4c44a75a
|
2020-05-29 05:24:37 +03:00 |
|
levlam
|
62a87ba179
|
Add need_send_update_chat_position.
GitOrigin-RevId: bbca8e3ee7fb5df8c08b5ae89683cc7cfbbea482
|
2020-05-29 03:16:56 +03:00 |
|
levlam
|
15b3907b37
|
More dialog list fixes.
GitOrigin-RevId: e6889e33454e41e14af7b2b64ccff06e8225f2a8
|
2020-05-29 01:58:24 +03:00 |
|
levlam
|
cef4c3af2f
|
Add MessagesManager::get_dialog_filter_ids.
GitOrigin-RevId: fb70aca2c233efe1ec873a707e3418e9ac39a401
|
2020-05-28 21:29:38 +03:00 |
|
levlam
|
8ac003dc9d
|
Dialog list fixes.
GitOrigin-RevId: 7591555e389fe55d33d5d7982a441491039d23ed
|
2020-05-28 21:24:50 +03:00 |
|
levlam
|
7ec366b7f7
|
Reorder dialog filters in synchronize_dialog_filters.
GitOrigin-RevId: 175efa63aa4a88ce2be5926f6715b7760049e149
|
2020-05-28 15:50:54 +03:00 |
|
levlam
|
a5abc75b20
|
Add synchronize_dialog_filters method.
GitOrigin-RevId: 41489bb32c0d6800db3b356d67dc1412ae6b89ed
|
2020-05-28 15:10:31 +03:00 |
|
levlam
|
260ac6c90e
|
Add need_synchronize_dialog_filters.
GitOrigin-RevId: e108099952a97aaa7b2963e15fff0123e1e3cbda
|
2020-05-28 14:34:02 +03:00 |
|
levlam
|
2edf3282fc
|
Add DialogFilter::is_empty.
GitOrigin-RevId: b84c90755bb2059cc0e7111b9b4c198c90130be4
|
2020-05-28 14:22:51 +03:00 |
|
levlam
|
e5f0902277
|
Do not reload filters in parallel.
GitOrigin-RevId: 8542d74bd773a58904834a0aea89de41ee470869
|
2020-05-28 12:38:46 +03:00 |
|
levlam
|
25badecb71
|
Use send_closure_later in reload_dialog_filters to avoid accidental Timeout usage.
GitOrigin-RevId: 9d3f29b0d6dac7c1834426c9e07885cbf6cd0bb9
|
2020-05-28 12:14:58 +03:00 |
|
levlam
|
10402d9f5b
|
Add get_dialog_filters_cache_time.
GitOrigin-RevId: a5779bb5d0a90c7a77f44df91300aedd6a562988
|
2020-05-28 12:05:40 +03:00 |
|
levlam
|
04e0f590e2
|
Add and use DialogFilter::are_equivalent.
GitOrigin-RevId: 6c9228b654f80f649ef107d6730e1fd966ce6792
|
2020-05-28 03:37:38 +03:00 |
|
levlam
|
f80bd321b0
|
Immediately return response to create/editChatFilter.
GitOrigin-RevId: 79e81c4baa497a2ebabb740a1efb33d044d5d65d
|
2020-05-28 03:11:34 +03:00 |
|
levlam
|
9a5f6c5dd5
|
Update dialog filter order after receiving them from server.
GitOrigin-RevId: 9ef943eb5faaf36cfe960e91a6daba6d5804a57d
|
2020-05-28 03:08:00 +03:00 |
|
levlam
|
09f8c68e04
|
Add set_dialog_filters_order method.
GitOrigin-RevId: 4c8517abc9e7a968244ec5790367b5299818c2cf
|
2020-05-28 02:43:23 +03:00 |
|
levlam
|
8bd1debf87
|
Add delete_dialog_filter_on_server.
GitOrigin-RevId: 4e08271a6eacb41cae9aea9e7d09cc5d47cae78e
|
2020-05-28 02:11:41 +03:00 |
|
levlam
|
77d9f547a3
|
Add update_dialog_filter_on_server.
GitOrigin-RevId: 699ae56d8c6d582f95c502fa75d0802c8385b8ef
|
2020-05-28 02:08:56 +03:00 |
|
levlam
|
0f93d0fd56
|
Add update_dialog_filter_on_server function.
GitOrigin-RevId: 35d57215c3cbae2f48a6398541a71583ffb9f33a
|
2020-05-28 02:07:00 +03:00 |
|
levlam
|
97a89986a1
|
Update DialogList in edit_dialog_filter.
GitOrigin-RevId: 93466cbb49e643ca0a0daabbd212fbed22d5e744
|
2020-05-28 01:57:36 +03:00 |
|
levlam
|
d2ff28f269
|
Add add_dialog_to_list/remove_dialog_from_list methods.
GitOrigin-RevId: 838e90a5143e310966ff2caf4343b236f97c0d25
|
2020-05-28 01:15:34 +03:00 |
|