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 |
|
levlam
|
dcaa9f3fba
|
Allow to call update_list_last_dialog_date without sending updates.
GitOrigin-RevId: 82db046228cbfb5d1d78d20be8050896547eca77
|
2020-05-27 23:40:03 +03:00 |
|
levlam
|
22f158ac1f
|
Make get_dialog_pinned_order static.
GitOrigin-RevId: 40e4b29573044b9d5f4fbdf75610eef4eab73421
|
2020-05-27 23:35:35 +03:00 |
|
levlam
|
4ace9f4c02
|
Disallow creation of an empty folder and a copy of the main chat list.
GitOrigin-RevId: 4a76401374821085fca0776ecabefd4fcc6f057f
|
2020-05-27 20:52:59 +03:00 |
|
levlam
|
7ae25bc255
|
Check that there is no duplicate chats in dialog filters.
GitOrigin-RevId: 5a12837a0d34a09a228efe62b6ed9593bb1c7124
|
2020-05-27 17:58:54 +03:00 |
|
levlam
|
d687f0b3fe
|
Sort dialogs in DialogFilter.
GitOrigin-RevId: d12a0d5274592ec3ada5fe5da2c2c172a7402847
|
2020-05-27 17:44:13 +03:00 |
|
levlam
|
21e0ab428b
|
Support dialog filters in toggle_dialog_is_pinned.
GitOrigin-RevId: c1fd8eb6c226dc61aefb82a360659d9abb2aeccc
|
2020-05-27 03:40:30 +03:00 |
|
levlam
|
a615d9e8ad
|
Support folders in set_pinned_dialogs.
GitOrigin-RevId: 064ce6d983fa9eb9c2b5d0203d17af3b7c7ae444
|
2020-05-27 03:21:24 +03:00 |
|