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 |
|
Andrea Cavalli
|
510aec55de
|
Merge commit '83c9f5180bf9738df2667841ed0c4df9ebeaec40'
Conflicts:
td/telegram/MessagesManager.cpp
|
2020-08-31 11:51:02 +02:00 |
|
levlam
|
b90e1bbeaf
|
Update layer to 119.
GitOrigin-RevId: fdec9a689414746baf67cc15ec279e2516c2765a
|
2020-08-30 22:12:43 +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
|
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
|
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 |
|
Andrea Cavalli
|
8c0ce47f61
|
Merge commit '3a626f6df2003e4cd834477de65dc900f074adda'
|
2020-08-20 15:31:08 +02: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
|
605e0844fb
|
Use string new_offset in FoundMessages.
GitOrigin-RevId: b0d013e7d2513cc39f1c07013c837e6adb7e924a
|
2020-08-18 15:10:03 +03:00 |
|
Andrea Cavalli
|
1ccc7c6c65
|
Merge commit '3282a873cb24b0c975b6929aeb71a00fc6a18b7c'
Conflicts:
sqlite/sqlite/sqlite3.c
sqlite/sqlite/sqlite3.h
sqlite/sqlite/sqlite3ext.h
sqlite/sqlite/sqlite3session.h
tddb/td/db/SqliteDb.cpp
|
2020-08-18 13:55:47 +02: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 |
|
|
90e1001a5f
|
Merge commit '1b628d3ab7be515c8c6a916e7e955403fbc07b2a'
|
2020-08-05 11:34:15 +02: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 |
|
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 |
|
|
cc087aeacd
|
Merge commit 'ab5d35371b1fdcfb30dfa981ede54ec83db214a9'
Conflicts:
sqlite/CMakeLists.txt
td/telegram/ContactsManager.cpp
td/telegram/Photo.cpp
td/telegram/Td.cpp
td/telegram/WebPagesManager.cpp
td/telegram/files/FileManager.h
|
2020-07-29 16:39:33 +02: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 |
|
|
886a40118e
|
Merge commit 'f45d80fe16f99d112d545b7cd74ce46342fe3437'
|
2020-07-09 00:10:53 +02: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 |
|
|
205fa52f8d
|
Merge commit '44689f81ff8b9bc4583c1c889d8034c47f0c5270'
Conflicts:
td/telegram/DialogDb.cpp
td/telegram/MessagesManager.cpp
td/telegram/StickersManager.cpp
td/telegram/TdDb.cpp
td/telegram/WebPagesManager.cpp
|
2020-06-11 17:44:52 +02:00 |
|
andrew (from workstation)
|
713949414e
|
implement #1
|
2020-06-11 13:42:03 +02:00 |
|
|
e3bf0f63f0
|
Patches
|
2020-05-23 21:27:24 +02:00 |
|
levlam
|
14bbb15eb6
|
Return view count for forwarded failed to send messages.
GitOrigin-RevId: ef08ac19c3650c114d5144aedc2952ab631cfa49
|
2020-05-22 21:03:53 +03:00 |
|
levlam
|
3ecbe54242
|
Fix misprint.
GitOrigin-RevId: 90bbeac5fa87b296b8f4e666fedb904d7a4ea6cb
|
2020-05-22 20:53:31 +03:00 |
|
levlam
|
ef9d8415f3
|
Do not get history in being added dialog.
GitOrigin-RevId: 06746812288030ab96c46e971e5d335024eaa64e
|
2020-05-22 18:48:04 +03:00 |
|
levlam
|
fc6738e85b
|
Add more checks for message ID being a scheduled server.
GitOrigin-RevId: cd86bff3c1b029905743e84103f4d30d79a2b1bf
|
2020-05-22 15:53:36 +03:00 |
|
levlam
|
aa515c895b
|
Hide view count for failed to send messages.
GitOrigin-RevId: 7450f2f80cf943d013f5da41101d0f85ee00e1fa
|
2020-05-22 15:38:46 +03:00 |
|
levlam
|
34c9ee6e84
|
Preload pinned_message_notification_message_id even it is newer than being added message, because it could be deleted in set_dialog_last_new_message_id->delete_all_dialog_messages_from_database->remove_dialog_pinned_message_notification.
GitOrigin-RevId: 8c4b73436bc26870af4fa788dedd5035e17116b9
|
2020-05-22 13:12:31 +03:00 |
|
levlam
|
54909ad713
|
Improve message_count updating.
GitOrigin-RevId: 365ac733fc40c06fc959376246c9c4b2b1987a10
|
2020-05-22 03:58:36 +03:00 |
|
levlam
|
b1dc75cdc4
|
Allow unordered updateNewMessage for bots.
GitOrigin-RevId: 3aa3e6143eb0558f1a822ece051b9666725f0301
|
2020-05-22 03:43:02 +03:00 |
|
levlam
|
4d8c9a3a60
|
Connect all messages after last server message just in case.
GitOrigin-RevId: c99a8e50f49a37d1f34997b5de53129f34ec80d3
|
2020-05-19 16:48:59 +03:00 |
|
levlam
|
179117cfb8
|
Delete server messages found after last server message just in case.
GitOrigin-RevId: f149afc10830895fc100db6251befc1afbeb4292
|
2020-05-19 16:39:44 +03:00 |
|
levlam
|
4c80155092
|
Improve spelling.
GitOrigin-RevId: 73edc0a7a57f40c404b4b5c8d00e9b20127f9abc
|
2020-05-18 22:54:18 +03:00 |
|
levlam
|
ea9caab8bc
|
Fix can_delete flags in updateNewChat.
GitOrigin-RevId: 715cca8966860c61b444fbe5ee83aaf884f3af4c
|
2020-05-16 03:16:11 +03:00 |
|
levlam
|
8ffc211e43
|
Do not use Dialog.order before first update_dialog_pos.
GitOrigin-RevId: c5ccea51ed3831db0deada3ebe2626ae9ee3d3a1
|
2020-05-16 03:03:40 +03:00 |
|
levlam
|
b29a945b1a
|
Ignore SQLite key-value responses after close.
GitOrigin-RevId: a91a2dbbf8efcda91959aabfcaca964caa6fe3c3
|
2020-05-16 02:25:03 +03:00 |
|
levlam
|
2def12b70f
|
Save only Main/Archive folders to database as index folders.
GitOrigin-RevId: 17d72a332c487c9207db2d3dc95788829a55dca8
|
2020-05-11 18:00:03 +03:00 |
|
levlam
|
03c93c5417
|
Ignore database results when closing.
GitOrigin-RevId: 12355cd62a7d6474e857c811579fb46a802c02f4
|
2020-05-11 16:21:23 +03:00 |
|
levlam
|
e941622e32
|
Ignore file_reference errors for bots, because corresponding file_ids may not be duped.
GitOrigin-RevId: 3cf82083a6d3e5556f665bad9ad00e216c7901a0
|
2020-05-07 15:56:57 +03:00 |
|
levlam
|
5fe9d5feee
|
Fix forwarding as copy of photos to a lot of chats simultaneously.
GitOrigin-RevId: 27edf34c58447a9c2bfd9e1a2679f69b0e05c076
|
2020-05-07 15:43:53 +03:00 |
|
levlam
|
af5eed2abb
|
Log before checks.
GitOrigin-RevId: 16b87eb9a1d763e85007de1253ada424c566ed0e
|
2020-05-07 03:43:11 +03:00 |
|
levlam
|
bc5415ba88
|
Fix file reference repair for bots.
GitOrigin-RevId: a73a960140e6b6866d8e53dd312a25258ea03d95
|
2020-05-07 01:54:47 +03:00 |
|
levlam
|
e9118c7bd5
|
Improve logging.
GitOrigin-RevId: 4d0cf9d0c6bc1fb1db353e2bc4ea8b7149ef7903
|
2020-05-07 01:50:47 +03:00 |
|
levlam
|
e5f99f0691
|
Fix get_dialog_public_order.
GitOrigin-RevId: 0775a5b925d4eec8f5d93b16cdfe462af310437a
|
2020-05-05 03:59:42 +03:00 |
|
levlam
|
033ae55a46
|
Add CHECKs that data is not overwritten.
GitOrigin-RevId: 55c74cf6b6526d1b506242e9423a46c3118ac64e
|
2020-05-05 01:07:13 +03:00 |
|
levlam
|
e45e13c77f
|
Force result of get_imput_media for bots.
GitOrigin-RevId: cbcd38739402f494ff1b687d67d6bd3677c8e9fc
|
2020-05-05 00:42:37 +03:00 |
|
levlam
|
5e02099069
|
Improve logging.
GitOrigin-RevId: ea4019e25d2e9413c5eed2d5dde5a7c9b58e1d1a
|
2020-05-05 00:37:27 +03:00 |
|
levlam
|
69ddff66bc
|
Silence expected warning.
GitOrigin-RevId: f32e419fb5a4da3663138be0fcef05475994caa4
|
2020-05-04 22:28:55 +03:00 |
|
levlam
|
d6404db146
|
Remove unneeded logging.
GitOrigin-RevId: 473cab6f91a53360e2a696cc50a48c018ce705c6
|
2020-05-04 21:52:15 +03:00 |
|
levlam
|
4558916bd9
|
Add get_dialog_private_order.
GitOrigin-RevId: 11938649209ec923bb5ca26e7788943561df6780
|
2020-05-04 16:33:42 +03:00 |
|
levlam
|
91f79a41e7
|
Fix removing sponsored dialog.
GitOrigin-RevId: d782395e217b44b0f9aa46d748fabd8aa3b24acd
|
2020-05-03 15:23:28 +03:00 |
|
levlam
|
68ccc65bb4
|
Add searchMessagesFilterFailedToSend.
GitOrigin-RevId: fdae4552eea6fdbb28906d43963aa6001e7b9401
|
2020-05-02 00:50:51 +03:00 |
|
levlam
|
767766ae13
|
Add MessagesManager::invalidate_message_indexes.
GitOrigin-RevId: e50464c956d38eec8784b72311cb24e654563674
|
2020-05-01 22:43:05 +03:00 |
|
levlam
|
c7003cda2b
|
Allow to start bots with sendBotStartMessage.
GitOrigin-RevId: 1dd84ae576c463a60189b0cdd9642bb8c10f8820
|
2020-04-30 23:21:37 +03:00 |
|
levlam
|
0eb0654bd6
|
Allow bots to receive updates.channelDifference without changed pts.
GitOrigin-RevId: 26f4effa096105254d2ba17db753103830eab2f0
|
2020-04-30 23:15:12 +03:00 |
|
levlam
|
0af026dd63
|
Poll promo data always.
GitOrigin-RevId: cf678c7389289dae6f7c040179bb60b86f1cac41
|
2020-04-30 21:00:58 +03:00 |
|
levlam
|
3afb615b59
|
Support removing PSA from the shat list.
GitOrigin-RevId: 4c0a07797e587d769caac33c8d7bc7ffddc5b0f8
|
2020-04-30 14:57:01 +03:00 |
|
levlam
|
8ef2cd4ed4
|
Return to the chat list closed secret chats with messages.
GitOrigin-RevId: c0ca10fc5bff12b3c5291d228fe10b7a3cc2d45b
|
2020-04-29 22:35:43 +03:00 |
|
levlam
|
23ad80e3a9
|
Silence warning about changed dialog order if dialog info was received from serverr.
GitOrigin-RevId: b6211153533746180307542d3e19fcd10aac63d2
|
2020-04-29 22:28:57 +03:00 |
|
levlam
|
1fe3b9809d
|
Ensure that bots doen't access notification settings.
GitOrigin-RevId: 218a38474e01dd9cdd7941308887bfb26470f5c1
|
2020-04-29 18:45:29 +03:00 |
|
levlam
|
8a76a6d13a
|
Ensure that get_dialog_list is not called for bots.
GitOrigin-RevId: 04b59057dfa78d26a2cfd7f0bb10c4696c7f7f65
|
2020-04-29 17:44:54 +03:00 |
|
levlam
|
c0adfe735d
|
Ensure that bots don't load chat list.
GitOrigin-RevId: a516afafacb8ac290c91f5d72681793f737c5dad
|
2020-04-29 17:13:17 +03:00 |
|
levlam
|
2e2a4b4570
|
Add public_service_announcement_type to forward info.
GitOrigin-RevId: a32fec98c5c61755930f623cdc00ce20f231d898
|
2020-04-28 17:25:24 +03:00 |
|
levlam
|
4498067221
|
Update layer to 113. Replace chat.is_sponsored with chat.source.
GitOrigin-RevId: 777a646b9639ed14d2ee1c304c6f0574c1d5ce5e
|
2020-04-28 16:25:56 +03:00 |
|
levlam
|
3d17513852
|
Add separate remove_sponsored_dialog.
GitOrigin-RevId: 23b569a314f0dc577e2f65e1a47d51a9434174aa
|
2020-04-28 12:03:00 +03:00 |
|
levlam
|
2c728d17b5
|
Remove handling of legacy promoted_dialog_id.
GitOrigin-RevId: bceea028730472fe367a9a904301896903afe571
|
2020-04-28 01:02:29 +03:00 |
|
levlam
|
da6f582788
|
Fix 'Internal Server Error' spelling.
GitOrigin-RevId: 9dd65cc0e6ea64650647e9600e9b92ef9f373c7e
|
2020-04-27 20:10:13 +03:00 |
|
levlam
|
9328c20fcc
|
Return only key's suffix in prefix_get.
GitOrigin-RevId: 4e2043356fc69741a881407146fd4e9ca385b258
|
2020-04-23 20:27:46 +03:00 |
|
levlam
|
9be242f877
|
Rename get_pinned_dialogs to get_pinned_dialog_ids.
GitOrigin-RevId: 3673c26a7156f98c3078cfd13d6c0a414e495718
|
2020-04-23 02:35:56 +03:00 |
|
levlam
|
3a622cccaf
|
Remove limit on number of preloaded chats.
GitOrigin-RevId: 515a47d04641e23bc8d5f72bbf01568d83dde96d
|
2020-04-23 02:33:29 +03:00 |
|
levlam
|
392b62e40b
|
Correctly add sponsored chat to total chat count.
GitOrigin-RevId: 94cd41796d06b4a70902b4e424c181bbca740639
|
2020-04-23 02:31:16 +03:00 |
|
levlam
|
6c9659dec4
|
Fix deletion of unreachable from the end too new server messages in set_dialog_last_new_message_id.
GitOrigin-RevId: fd43badbfd5745eb3ad26eca5f1873d2ffc2bcb2
|
2020-04-22 17:52:51 +03:00 |
|
levlam
|
356051f59d
|
Do not warn on attaching new message to the next yet unsent message. Could happen when replying a message received through getMessage.
GitOrigin-RevId: c4c77ae81eab08cce855ba32a5756477340b66af
|
2020-04-22 17:11:29 +03:00 |
|
levlam
|
52ea0998ec
|
Allow to pass multiple input language codes in searchEmojis.
GitOrigin-RevId: 0fb99694447f3ac02063eb9c03af2c2b3dfc267e
|
2020-04-22 15:17:53 +03:00 |
|
levlam
|
226cf0e6dc
|
Do not save yet unsent message IDs as deleted message IDs.
GitOrigin-RevId: 459bc8dab615ae509da8cd2ed23832362f37f41b
|
2020-04-22 14:22:33 +03:00 |
|
levlam
|
80fb2baf6e
|
Drop message random_id from cache after the message is deleted.
GitOrigin-RevId: 75985135435dafa0c4de4e7fcafa25490a25d354
|
2020-04-22 13:36:03 +03:00 |
|
levlam
|
1c605b7e52
|
Remove debug of being sent messages.
GitOrigin-RevId: cb191e904f2b392562f927c8b2ac28036176ba96
|
2020-04-22 12:48:52 +03:00 |
|
levlam
|
acf189bb51
|
Do not save failed to send message ids for bots.
GitOrigin-RevId: 0cc447dac85dc1ad8d61b60a53ebea027ce96d8f
|
2020-04-22 12:28:17 +03:00 |
|
levlam
|
4afc32d9f9
|
Do not save yet_unsent_message_id to persistent_message_id correspondence for bots.
GitOrigin-RevId: 850f7ac5fc0bb348985b02c46812a32b64018cc5
|
2020-04-22 12:16:52 +03:00 |
|
levlam
|
379bff13cb
|
Remove time limit on channel posts editing.
GitOrigin-RevId: 033ba6c0622739e89721ab6f5a9ec4e3a178e866
|
2020-04-21 23:27:48 +03:00 |
|
levlam
|
e2998f79b6
|
Allow to delete dice just for self.
GitOrigin-RevId: 5ab4db809bc33c67f99c95f2a0267e3be84b59ac
|
2020-04-21 15:39:36 +03:00 |
|
levlam
|
35e421a23d
|
Do not apply expired message content early.
GitOrigin-RevId: e49ba509e615a0f088b5aba7f03d722248ae9af0
|
2020-04-21 01:39:44 +03:00 |
|
levlam
|
67565c9c34
|
Allow to delete local and scheduled messages.
GitOrigin-RevId: 5cc1fbe54fb0ea55fbc46e1f7ed1b1b138fd1edd
|
2020-04-20 00:59:09 +03:00 |
|
levlam
|
87afb93b93
|
Fix some ID spelling.
GitOrigin-RevId: cdd8cdb93696c690cf7bdb9b2df175bb926a7510
|
2020-04-19 13:45:37 +03:00 |
|
levlam
|
5da08f8bb1
|
Remove unsupported include_sponsored_chat_to_unread_count option.
GitOrigin-RevId: dcedd9c37b8e5453590e092a3651456a4c62ad1c
|
2020-04-14 00:20:04 +03:00 |
|
levlam
|
65c6ac69eb
|
Add get_dialog_public_order overload from DialogList.
GitOrigin-RevId: 9ac90c9f041a756b4adbd1c9e632f97cf43edf66
|
2020-04-13 04:48:21 +03:00 |
|
levlam
|
6dd455449e
|
Use folder_id in MessagesManager::get_dialog_public_order.
GitOrigin-RevId: 70d6b38ceec67bdb3b0439454a9637f0d6178ee2
|
2020-04-13 01:39:47 +03:00 |
|
levlam
|
737afc8c7e
|
Move get_message logging to INFO.
GitOrigin-RevId: dd86fd3ca2d535fd3d6f2d2ce24cd69dbe5bb534
|
2020-04-11 01:08:55 +03:00 |
|
levlam
|
c044770022
|
Simplify messages.sendMedia creation.
GitOrigin-RevId: 8a8ad7b0e88e459f30104d2f6dd6084ddbac8a36
|
2020-04-10 04:16:50 +03:00 |
|
levlam
|
b3594169b5
|
Fix MessagesManager::update_sent_message_contents.
GitOrigin-RevId: 5265e6d357109065790d6b6e85ddee09d25b025d
|
2020-04-10 02:38:56 +03:00 |
|
levlam
|
00a70b466d
|
Do not add file source from self-destructing messages.
GitOrigin-RevId: 5ac703d188ec532a52efa8549ee8c7e63a78a78b
|
2020-04-09 18:43:27 +03:00 |
|
levlam
|
1d8004d279
|
Add force to get_user_full.
GitOrigin-RevId: 182ab8a99142a12c51662ee0928480f6a3e03f91
|
2020-04-07 03:23:53 +03:00 |
|
levlam
|
9df4c5dcf9
|
Silence expected error.
GitOrigin-RevId: 1a9c9390b385e63ad91807ee6ed02e088b060154
|
2020-04-07 03:06:25 +03:00 |
|
levlam
|
3f6485fb39
|
Require ability to send stickers for dice.
GitOrigin-RevId: 61d61df0d56653d366ef82a86adb6e92046b8362
|
2020-04-04 02:45:36 +03:00 |
|
levlam
|
1cb2141fee
|
Add force to get_channel_full.
GitOrigin-RevId: 76bc8e90bc5aba1443739199800074bf52e7d8d3
|
2020-04-02 04:33:04 +03:00 |
|
levlam
|
d8f18bd694
|
Add MessagesManager::add_sponsored_dialog.
GitOrigin-RevId: 8d786b88b5d2e551988aebb164d787bff3f4ea5b
|
2020-04-02 03:03:17 +03:00 |
|
levlam
|
b99f88ed77
|
Move logging to a better place.
GitOrigin-RevId: a61a8c10179635477447eee7d222b3906545254c
|
2020-04-02 01:05:57 +03:00 |
|
levlam
|
679bc7c84b
|
Adjust first_database_message_id after receiving messages from database.
GitOrigin-RevId: 2b27f0eebf0fd0f30fb1231df50ee808933a6f21
|
2020-04-02 00:15:23 +03:00 |
|
levlam
|
c8345a6131
|
Drop database message IDs if failed to load messages from the database.
GitOrigin-RevId: 269e0e46b896d37188326275323f521261d727c5
|
2020-04-01 21:36:09 +03:00 |
|
levlam
|
84cd8a8e3c
|
Load only 10 messages from database when repairing last message.
GitOrigin-RevId: f48e3418190b5253b53dfadab55a97a3ae61185a
|
2020-04-01 20:35:44 +03:00 |
|
levlam
|
09f2dc8e9d
|
Improve error message.
GitOrigin-RevId: a0da9ac936aad83d95f1f13a18560728f9bf5ba7
|
2020-03-31 02:21:26 +03:00 |
|
levlam
|
62a9eac907
|
Suppress logging of MESSAGE_DELETE_FORBIDDEN errors.
GitOrigin-RevId: f131ae1323ba35367198f7b3e45f653bf84c29dd
|
2020-03-31 02:17:57 +03:00 |
|
levlam
|
409fd70c15
|
Silence expected reply markup change warnings.
GitOrigin-RevId: abbc161a87e09cabebeadd13b50399f266d8fffc
|
2020-03-31 01:19:10 +03:00 |
|
levlam
|
bcc8dbc158
|
Use Global::is_expected_error whenever appropriate.
GitOrigin-RevId: aba8ee6e3dc1ab6e680a5ae10f6c3d217ab0a8dc
|
2020-03-31 00:35:58 +03:00 |
|
levlam
|
4cfb7c56d2
|
Add Global::is_expected_error.
GitOrigin-RevId: afa4741a772ad99844195a583ee40d3fc50fef4f
|
2020-03-31 00:22:52 +03:00 |
|
levlam
|
f432d403e7
|
Remove logging of some expected errors.
GitOrigin-RevId: 2a6e4704d57743da1dba740dc9333cc649c679ee
|
2020-03-31 00:02:43 +03:00 |
|
levlam
|
7932ea08eb
|
Invalidate list of poll voters if full list size is different from the expected total count.
GitOrigin-RevId: 544e9c4ae8b76bb10399c8370269940eb45a4684
|
2020-03-30 22:43:04 +03:00 |
|
levlam
|
e8e546a721
|
Fix retries in getBasicGroupFullInfo.
GitOrigin-RevId: acd566f171998c130f0e3a0544b11e6430148f07
|
2020-03-30 22:20:34 +03:00 |
|
levlam
|
a599557c9d
|
Support some updates before authorization.
GitOrigin-RevId: 21bd7a06bf41ebc81005b35a0695988d82e6b4a3
|
2020-03-30 01:48:44 +03:00 |
|
levlam
|
12a6bc9c04
|
Rename Die to Dice.
GitOrigin-RevId: 16b7b2915163103891d9813e034762fb6a8f6bff
|
2020-03-30 00:34:37 +03:00 |
|
levlam
|
e1ff669682
|
Add support for die messages.
GitOrigin-RevId: 2ce7260b01ebe12599831df785ec6d777ddbd10e
|
2020-03-14 19:56:39 +03:00 |
|
levlam
|
b89034d78b
|
Fix disable_web_page_preview flag of copied messages.
GitOrigin-RevId: 7b4c01436ab4bb8375307e57dd7b702cea5c289f
|
2020-03-28 02:35:07 +03:00 |
|
levlam
|
8e666c2d7a
|
Add has_message_content_web_page.
GitOrigin-RevId: 3bc382c77754a6a517616235d7b2572cfdfda607
|
2020-03-28 01:49:59 +03:00 |
|
levlam
|
a0a446f987
|
Correctly send updateChatOrder when sponsored chat changes.
GitOrigin-RevId: 0e2184406b689df860926817d4b4966869a5d05d
|
2020-03-26 19:04:48 +03:00 |
|
levlam
|
302485d673
|
Repair dialog action bar with delay to not receive outdated data.
GitOrigin-RevId: 74c3cb3ae95e5204153b91fd220b3e6b62bd87df
|
2020-03-24 03:47:33 +03:00 |
|
levlam
|
f0a8af3b2d
|
Ignore notifications about messages, which can't be added to the dialog.
GitOrigin-RevId: 6e5780e843760b4ff39aee751249455b9d926b01
|
2020-03-24 01:49:04 +03:00 |
|
levlam
|
1310aa7f2c
|
Improve logging.
GitOrigin-RevId: d1c9c742981fa37ebe691aa569e8b6a9fc50d3c1
|
2020-03-24 01:36:43 +03:00 |
|
levlam
|
ca585ad181
|
Do not hide live location edit date.
GitOrigin-RevId: feb0d2b9b642ee507770cc58a9ad06d37c833957
|
2020-03-24 01:33:50 +03:00 |
|
levlam
|
76558f0802
|
Add can_delete_message method.
GitOrigin-RevId: 87fd876f8155d6e93f1b2f50e03d610626c8ede0
|
2020-03-20 03:59:09 +03:00 |
|
levlam
|
61d0b113d9
|
Do not add sponsored chat to ordered_dialogs_.
GitOrigin-RevId: b0b9f90f2018bbe4f32597cd5b4077056ac901e7
|
2020-03-20 01:15:15 +03:00 |
|
levlam
|
3caaddc98d
|
Do not allow to pin chats not from chat list.
GitOrigin-RevId: 05cc829da14c54b73f7e5425c08647b70ddf2a49
|
2020-03-20 00:22:11 +03:00 |
|
levlam
|
33b87d1b13
|
Add MessagesManager::is_removed_from_dialog_list.
GitOrigin-RevId: a0d49b0a9c945110b6a7365489795c2fb9b73126
|
2020-03-19 23:52:09 +03:00 |
|
levlam
|
f14b83f367
|
Minor.
GitOrigin-RevId: cbffbf1a1918a86140c1b4b06a9e8a97627d46d3
|
2020-03-19 02:53:04 +03:00 |
|
levlam
|
0578d58d93
|
Minor improvements.
GitOrigin-RevId: 6c87ee82034d077c1f16f053948a0d89b4c2cd71
|
2020-03-19 01:54:59 +03:00 |
|
levlam
|
b9fd8fd5d6
|
More need_unread_counter usages.
GitOrigin-RevId: 50f1daa84a2e19a257a1f357454b3ea363afe1d4
|
2020-03-19 00:52:53 +03:00 |
|
levlam
|
443924ca11
|
Simplify MessagesManager::set_dialog_order.
GitOrigin-RevId: a91e590024087f71146637064b5a44a4a2da9960
|
2020-03-18 23:19:23 +03:00 |
|
levlam
|
cd8c63f073
|
Simplify update_dialog_pos calls.
GitOrigin-RevId: 60f274d8149a650a04e2a9f289b7aba2992583b3
|
2020-03-18 19:41:18 +03:00 |
|
levlam
|
a1a7fc7a4d
|
Remove unneeded function parameters.
GitOrigin-RevId: d7e13769e18a6949bbae73da050b664fe09cc1f0
|
2020-03-17 04:29:24 +03:00 |
|
levlam
|
eea23e4255
|
Fix formatting.
GitOrigin-RevId: 9d7abcae840a94912b8c0316c37a2553a38fa864
|
2020-03-16 19:42:10 +03:00 |
|
levlam
|
07d6f17f33
|
Fix dialog order comparisons.
GitOrigin-RevId: c3d0a23d3e8d894532fa2dcf708175242e715c80
|
2020-03-16 04:12:34 +03:00 |
|
levlam
|
d06a786a16
|
Simplify NetQueryCreator and remove mtproto dependency on telegram_api.
GitOrigin-RevId: 2edfc9d6d80eab8716dfd3722f6aebe53dba1e47
|
2020-03-16 01:01:14 +03:00 |
|
levlam
|
b8848a2ab4
|
Simplify NetQuery creation.
GitOrigin-RevId: a01e72f8e196b405dd28dfd75d16cadc7127ec4a
|
2020-03-16 00:17:11 +03:00 |
|
levlam
|
2bd330a5aa
|
Add NetQueryCreator.create_guest_dc.
GitOrigin-RevId: e8b0fffb5bb762ce288a9cbf1c446d584c7258e1
|
2020-03-15 05:22:43 +03:00 |
|
levlam
|
3d85a7f304
|
Fix possible crash.
GitOrigin-RevId: 33fdfa3f92b9dfe393aac934f1307be00d7c308b
|
2020-03-13 02:50:29 +03:00 |
|
levlam
|
8ca5e11e3f
|
Add draftMessage.date.
GitOrigin-RevId: 5fea574e388a14fed3186b5c97a2a830181d6e98
|
2020-03-12 19:56:42 +03:00 |
|
levlam
|
01de03a3ee
|
Improve logging.
GitOrigin-RevId: 26f1002bdf0e437da17d5132e7a6963f39548fdf
|
2020-03-12 19:44:29 +03:00 |
|
levlam
|
9b01faa1fd
|
Add logging on check fail.
GitOrigin-RevId: 98322776755f5155b450b27040679d778505298f
|
2020-03-12 18:37:25 +03:00 |
|
levlam
|
1433b3d82a
|
Do not allow to archive saved messages and 777000.
GitOrigin-RevId: 570ec48d7347ebaf4ea3a35847d95714b5fcf741
|
2020-03-11 01:36:47 +03:00 |
|
levlam
|
c04ae16bda
|
Fir readin histoyr delay.
GitOrigin-RevId: 816dde71f13aefa00750ab9cb4baea455de40c9d
|
2020-03-08 02:32:24 +03:00 |
|
levlam
|
5ae8f3bc43
|
Do not delete files from being readded message.
GitOrigin-RevId: cccec0ad3b816f400b7fc61d510719ef9f78e90f
|
2020-03-07 21:00:10 +03:00 |
|
levlam
|
35bc27c028
|
Do not warn on wrong unread counter in nonjoined chats.
GitOrigin-RevId: f81f747679a9beab19defeb6ab36d9c5ed0ca6ea
|
2020-03-05 20:12:50 +03:00 |
|
levlam
|
cc8d876589
|
Add ignore_default_disable_notification option.
GitOrigin-RevId: 9386d08601bce5b6cd3ef3413033439a30f99362
|
2020-03-05 00:17:19 +03:00 |
|
levlam
|
5e2ad0a814
|
Never return self twice in searchChatMembers.
GitOrigin-RevId: 79b104de48f8b0e20c9110fd57e5e9a5bc847e87
|
2020-03-04 03:35:49 +03:00 |
|
levlam
|
5bea5f83b2
|
Better error message on incorrect inputMessageContact.
GitOrigin-RevId: 0bd74bbb6cd42b6a68d436e8f40317a4ed180972
|
2020-03-04 01:45:37 +03:00 |
|
levlam
|
4f402851b2
|
Hide drafts in chats, to which the user is unable to write.
GitOrigin-RevId: 7d50bacb483e726b7d6464168b849933f2b898f0
|
2020-03-03 15:55:23 +03:00 |
|
levlam
|
dc89a85449
|
Remove view counter from sent scheduled messages.
GitOrigin-RevId: e6d17a4f740708d8e1e29fdec67b73dad5b4716e
|
2020-03-02 01:33:28 +03:00 |
|
levlam
|
01bb9073d8
|
Fix warning.
GitOrigin-RevId: 8f4e58bed82ba340b440f4cfd828e8a9cd6884ea
|
2020-02-29 21:57:42 +03:00 |
|
levlam
|
44b31537aa
|
Add "disable_sent_scheduled_message_notifications" option.
GitOrigin-RevId: ad57858024b07b51b89d7b3c28faf20c3e7577da
|
2020-02-29 21:17:30 +03:00 |
|
levlam
|
0a5d563a2f
|
Fix MessagesManager::get_next_yet_unsent_scheduled_message_id.
GitOrigin-RevId: 2a3a76652e809d46b5395f8cfd505ae625e30459
|
2020-02-29 20:36:49 +03:00 |
|
levlam
|
d83d8a4977
|
Supress updateNewMessage for scheduled messages from database and received before first return of the scheduled messages list.
GitOrigin-RevId: e04e707c23259ce1ea9b651164ddf7df91ccb4a1
|
2020-02-28 23:01:30 +03:00 |
|
levlam
|
dd6e52418c
|
Better repair of has_scheduled_server_messages.
GitOrigin-RevId: eb1ebac91773ce3a7306a252afe98d2a1a9686fa
|
2020-02-28 21:40:31 +03:00 |
|
levlam
|
cf8254b2c9
|
Update has_scheduled_server_messages after receiving all scheduled messages.
GitOrigin-RevId: 5eb7947469f5470c4670c9d2db794d07cd81dcce
|
2020-02-28 17:39:26 +03:00 |
|
levlam
|
e48199f6c0
|
Add get_dialog_has_scheduled_messages.
GitOrigin-RevId: 1733e3d3878950e196a2f7a31436f16c5ec4c6d0
|
2020-02-27 22:39:06 +03:00 |
|
levlam
|
5fef27af1b
|
Add parameter force to get_dialog_scheduled_messages.
GitOrigin-RevId: 1876be0d4de852aa3508810c491e3bb073ae0384
|
2020-02-27 21:31:19 +03:00 |
|
levlam
|
fe462698bc
|
Repair scheduled messages after deletion of last known scheduled message.
GitOrigin-RevId: 5ccb76b94ed954d7067033a932e248501b8e2fd0
|
2020-02-27 21:15:55 +03:00 |
|
levlam
|
c3f802f55f
|
Monor fixes.
GitOrigin-RevId: 54ffc796bf71a9337476e2d2c43b3b83da53487a
|
2020-02-26 17:42:56 +03:00 |
|
levlam
|
24e2dcd590
|
Reregister edited scheduled messages.
GitOrigin-RevId: 72d2f5804fb6fb7dc5e4fb026dd1ef6640ee63f6
|
2020-02-26 16:26:25 +03:00 |
|
levlam
|
801137dcf3
|
Repair scheduled messages after receiving opposite server flag.
GitOrigin-RevId: 5cead2b4fd6c52835b5dc775efaa9c855d72feb3
|
2020-02-26 00:28:03 +03:00 |
|
levlam
|
c407b244a0
|
Prevent extensive pinned message loading from the database.
GitOrigin-RevId: 4365b7bf0c95a89f616731a78017a2f4a15bd1d9
|
2020-02-25 05:14:43 +03:00 |
|
levlam
|
0d45de3ffb
|
Add support for entities in captions of outgoing secret chat messages.
GitOrigin-RevId: a7267004625b2c1d7235d961ade06587f107420a
|
2020-02-25 00:07:39 +03:00 |
|
levlam
|
04a002d9f3
|
Add source to register_message_content.
GitOrigin-RevId: 035429321a0fa15ea8918c634b19f12c21fc1d61
|
2020-02-22 19:21:58 +03:00 |
|
levlam
|
283a82cfa3
|
Disable automatic dialog action timeout in chats with bots.
GitOrigin-RevId: 69e0d54d329a2bef15269623d14e0770dffd120e
|
2020-02-22 19:03:52 +03:00 |
|
levlam
|
dafbedaefe
|
Improve reading chat history.
GitOrigin-RevId: 82e2fc0ca2cbf1c59507fb74120732433ac15603
|
2020-02-19 20:02:42 +03:00 |
|
levlam
|
e72346cb6f
|
Make repair_channel_server_unread_count persistent.
GitOrigin-RevId: f99be75116f3e5bbfa2224d74723ec4fa5feaa91
|
2020-02-19 04:14:58 +03:00 |
|