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 |
|
levlam
|
9be2629d24
|
Update unread_count id last_read_inbox_message_id is not changed.
GitOrigin-RevId: 0c0d82d21ab4401748dddecd26f5a2e544a410a7
|
2020-02-19 04:02:56 +03:00 |
|
levlam
|
e8af355da9
|
Do not try to repair unread count in chats not from the chat list.
GitOrigin-RevId: e0743710087c8f35b2772bbac13f1ddad82cc2a3
|
2020-02-19 03:26:37 +03:00 |
|
levlam
|
fb37825688
|
Fix last_read_inbox_message_id received through getChannelDifference.
GitOrigin-RevId: 393c920b8c1ff4e5b3469bf8f605111df22c86cb
|
2020-02-19 03:16:57 +03:00 |
|
levlam
|
6356d8193c
|
Repair again server unread count until it is successfully repaired.
GitOrigin-RevId: 6ec55caaba86e8374a56aeeb22c6486a5b19f508
|
2020-02-19 03:09:18 +03:00 |
|
levlam
|
6c34d4628d
|
Add source to set_dialog_pinned_message_notification.
GitOrigin-RevId: db3c87f7a5b9c36db19db8346161d95e72a78bbf
|
2020-02-18 20:28:16 +03:00 |
|
levlam
|
1f01e5ad43
|
Additional case for pinned message preloading.
GitOrigin-RevId: 038c9b4c1242afaa87487af8c4e4c51be24af537
|
2020-02-18 20:17:16 +03:00 |
|
levlam
|
fa457236e0
|
Ignore duplicate auth notifications.
GitOrigin-RevId: 103e8ca99f2b2e35455ccd426a415177287bd814
|
2020-02-13 03:03:50 +03:00 |
|
levlam
|
a7e6deeab5
|
Add more checks that updateNewChat was sent.
GitOrigin-RevId: deaaef2b986c3d780ad7f06007b2719ff34d7a65
|
2020-02-13 01:22:25 +03:00 |
|
levlam
|
fb0bf583ea
|
Better log messages.
GitOrigin-RevId: 75b00311ddb4775305ca235f5276d5b0dd328bf1
|
2020-02-12 20:25:39 +03:00 |
|
levlam
|
9964c011ec
|
Allow report private chats with users sharing their location.
GitOrigin-RevId: f1b546ea71a534436e487d4a644b4001bd274e09
|
2020-02-12 03:05:54 +03:00 |
|
levlam
|
660acfef22
|
Allow outdated unacceptable updates to avoid getDifference after trying to apply every such pending update.
GitOrigin-RevId: 61944ec2b4e81fa2ca61bee5887220964e0c9cbc
|
2020-02-04 04:06:20 +03:00 |
|
levlam
|
8539d43951
|
Silence warning about wrong message entities for messages from albums.
GitOrigin-RevId: 13a60e258ab6aae8c80d5ea4cd8bb7037f56985c
|
2020-01-29 02:05:12 +03:00 |
|
levlam
|
5e0df6f352
|
Remove unused variable.
GitOrigin-RevId: 82b19ad7cbc3ef47e88e593919274d820ec77e3b
|
2020-01-27 17:09:12 +03:00 |
|
levlam
|
a89654c3a9
|
Remove some debug variables.
GitOrigin-RevId: 98b80744574adaa92dea450db049cd166565fc48
|
2020-01-27 14:28:18 +03:00 |
|
levlam
|
4a1125887a
|
Move update_used_hashtags to MessageContent.cpp.
GitOrigin-RevId: 67b8a3defbc9f2249dff0d57a40bd42ec743cd39
|
2020-01-27 03:34:23 +03:00 |
|
levlam
|
e666d10c8d
|
Do not include TopDialogManager in MessagesManager.
GitOrigin-RevId: 364ebfc86bc49d8b64a60a82a3383210531774c3
|
2020-01-27 03:25:23 +03:00 |
|
levlam
|
985e051bbe
|
Add TopDialogCategory.h.
GitOrigin-RevId: ce481612a17e38268b8b2c3a9d7b9ebad5cb572d
|
2020-01-27 03:19:54 +03:00 |
|
levlam
|
c36d45153c
|
Move resolve_dependencies to Dependencies.cpp.
GitOrigin-RevId: a14d38050af2a7d24f87642e63147642603a7ea5
|
2020-01-27 03:09:05 +03:00 |
|
levlam
|
129f96da69
|
Send updateMessageContent when WebPage is changed.
GitOrigin-RevId: 8e20fd788a4f5333f686d96241459774319ac8d7
|
2020-01-27 02:55:18 +03:00 |
|
levlam
|
f2a4d70865
|
Register scheduled message contents.
GitOrigin-RevId: 1942ff1c3976ee24969d1c25a94fb89639ffa906
|
2020-01-25 04:00:43 +03:00 |
|
levlam
|
67e4871ea0
|
Add reregister_message_content.
GitOrigin-RevId: 53c250a8e805dba37dc4ee255472935762ee609a
|
2020-01-25 03:50:23 +03:00 |
|
levlam
|
3a78a9160b
|
Improve logging.
GitOrigin-RevId: 0031ef075ec02edf1257674fa69412609eaec4d7
|
2020-01-24 16:43:37 +03:00 |
|
levlam
|
970cbe1c97
|
Do not call get_active_live_location_messages while adding just loaded from database live locations.
GitOrigin-RevId: 078ed7af9e7f31eaf207751b25542c224c851f82
|
2020-01-24 01:16:18 +03:00 |
|
levlam
|
84ecdac7be
|
Resave live location list if some locations expired.
GitOrigin-RevId: 35b949ff6735f4a060a1c7e4af6153eb607d1962
|
2020-01-24 01:14:43 +03:00 |
|
levlam
|
359153c212
|
Fix need_delete_file for outgoing messages.
GitOrigin-RevId: 51ac837238bec39b12caeb6cc2ec28e5ca6c8cc3
|
2020-01-19 04:55:15 +03:00 |
|
levlam
|
075b6f909f
|
Recalc unread chat count after receive of first chats.
GitOrigin-RevId: a69510e2078d61647619b3d53505148d2005ce5c
|
2020-01-19 04:19:25 +03:00 |
|
levlam
|
8350443093
|
Add limit to getPollVoters.
GitOrigin-RevId: 7f782124e111680b3b726685d6633e79f3d3b60f
|
2020-01-18 07:01:05 +03:00 |
|
levlam
|
8ea7e4eccf
|
Fix getMessageLinkInfo for messages in unknown public chats.
GitOrigin-RevId: 7c8b1e0d09d27d96afa930fe5101128c4084fb08
|
2020-01-18 02:20:28 +03:00 |
|
levlam
|
cde26abe1e
|
Add and use can_have_input_media function.
GitOrigin-RevId: f40cb99154f6429f071dc9785f94a62322ef123e
|
2020-01-16 06:10:08 +03:00 |
|
levlam
|
4ec628fc78
|
Add Game::has_input_media.
GitOrigin-RevId: 13be31df3a93d495628f64d7cedc767a6e030a68
|
2020-01-16 05:18:06 +03:00 |
|
levlam
|
66bd2bfe60
|
Return typings for users with hidden online status.
GitOrigin-RevId: 6794e84c2ad0b497901d95b10e7e787b02ecfaa7
|
2020-01-16 04:42:12 +03:00 |
|
levlam
|
9b16d530fd
|
Return accidentally deleted call to cancel_user_dialog_action.
GitOrigin-RevId: c069dfd631a28363ad4d5f237ac1628ef8c5eb5e
|
2020-01-16 04:08:54 +03:00 |
|
levlam
|
695782fa84
|
Disable back sending polls to saved messages.
GitOrigin-RevId: 7ad07014892a38c542c6c8ef8962c92a8afc3bd6
|
2020-01-15 03:13:15 +03:00 |
|
levlam
|
d6b87bd121
|
Fix TODO in can_resend_message.
GitOrigin-RevId: 87830112e4e9f711774615d0038271892958a191
|
2020-01-15 02:58:34 +03:00 |
|
levlam
|
7ffd9ad7c9
|
Move checks for Game message content in dup_message_content.
GitOrigin-RevId: e9d5ad1216c5178b4990b4f17bc5c808cd70cb6f
|
2020-01-15 02:44:24 +03:00 |
|
levlam
|
ebaea15679
|
Introduce MessageContentDupType.
GitOrigin-RevId: 06e0728b6853f0c7ec065a1b5eba8e448a8e9835
|
2020-01-15 02:11:26 +03:00 |
|
levlam
|
4317cc3ef5
|
Add content checks after dup_message_content.
GitOrigin-RevId: cba1a103b02381490561213391e95f0e4aa08d64
|
2020-01-15 01:45:59 +03:00 |
|
levlam
|
fa31f168b5
|
Update layer 109. Add keyboardButtonTypeRequestPoll.
GitOrigin-RevId: eae6bb600cef6eb4d9386c4dc2a762d065b1fa09
|
2020-01-14 20:18:35 +03:00 |
|
levlam
|
656fda701f
|
Allow bots to send polls to private chats.
GitOrigin-RevId: c1e274b1f0b8a7c7eec8edc304976f8b07b25164
|
2020-01-13 21:26:58 +03:00 |
|
levlam
|
4e22f29c53
|
Add td_api::getPollVoters.
GitOrigin-RevId: 47ad78287433a2efb9b66f18a960e4de6060842a
|
2020-01-13 21:21:58 +03:00 |
|
levlam
|
a7501e1582
|
Update layer to 109. Add new poll types.
GitOrigin-RevId: cc82f1bfdf1d4cd906212009f2dc8d84e0cb543a
|
2020-01-11 03:46:26 +03:00 |
|
levlam
|
37cab6d1fc
|
Do not unload last edited message in the chat.
GitOrigin-RevId: d8a5f8053f8d0ef6bd86f503a456f6631a5f9d9e
|
2020-01-08 04:34:15 +03:00 |
|
levlam
|
eecb70d006
|
Minor fixes.
GitOrigin-RevId: b8276b548fca9ede4bd2caf27bd45ccc54c93dda
|
2020-01-07 18:16:57 +03:00 |
|
levlam
|
dbc2e30eff
|
Do not send updateChatActionBar about nonexistent secret chats.
GitOrigin-RevId: 64fe7ef6e66612428fa6b65ed68e89c3de9eab4c
|
2020-01-06 20:44:21 +03:00 |
|
levlam
|
2dea8aea06
|
Fix code duplication.
GitOrigin-RevId: 8b4784e364d1e4d016a22bc6806bf732d5d5ac7a
|
2020-01-06 20:40:58 +03:00 |
|
levlam
|
c627c79b6a
|
Improve logging.
GitOrigin-RevId: 4c5be88bb5f89b50ca1872a8a6686b777fe8aaa2
|
2020-01-06 04:45:05 +03:00 |
|
levlam
|
e44b02fe45
|
Fix some includes.
GitOrigin-RevId: 1a3a8bab67f3ed56545d58815187d7a8f99944d9
|
2020-01-03 01:48:23 +03:00 |
|
levlam
|
76e363cbe9
|
Allow bots to delete unknown messages.
GitOrigin-RevId: f9cecdf316fb28aacbbef657eaf83554563e6f5e
|
2020-01-02 17:47:32 +03:00 |
|
levlam
|
80c35676a2
|
Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
|
2020-01-01 04:23:48 +03:00 |
|
levlam
|
54c816d0ac
|
Do not try to load active live locations if there is no message database.
GitOrigin-RevId: 012a87fff20d99e40916a63fa722ea75e2bbf974
|
2019-12-31 04:31:10 +03:00 |
|
levlam
|
e4e1e34cc5
|
Add active live location only after the message is added to the chat.
GitOrigin-RevId: 6016418f9330b6d754fd7b8cfa2a8c3127ad519d
|
2019-12-31 04:26:56 +03:00 |
|
levlam
|
f62b9f0bbd
|
Do not add active live locations to the list for bots.
GitOrigin-RevId: 01b22101f53b70195dc4f90d2a4a9283ec2b7f95
|
2019-12-31 03:51:48 +03:00 |
|
levlam
|
aee34460ef
|
Support messages from scheduled in Push notifications.
GitOrigin-RevId: f2fb0c8553453f140083afdbd697aa2e420da4c3
|
2019-12-30 04:51:37 +03:00 |
|
levlam
|
fcb877b78c
|
Treat messages from scheduled as incoming for notifications.
GitOrigin-RevId: b9b428fb65734a1b9b1a9733408ffd828db19f55
|
2019-12-30 03:31:33 +03:00 |
|
levlam
|
34bea7d5d7
|
Fix CHECK.
GitOrigin-RevId: 96fb8c20d2622534cb3ff884ecb007ae49305d34
|
2019-12-29 23:39:54 +03:00 |
|
levlam
|
6903886372
|
Disallow calling setChatNotificationSettings in Saved Messages. It doesn't work anyway.
GitOrigin-RevId: bca3756bb3bc5f64c15543eda2f9cef3965a261d
|
2019-12-29 03:47:35 +03:00 |
|
levlam
|
49bacaf001
|
Init total count in archive if needed.
GitOrigin-RevId: e1dbc855a60270e7bf40cae5744d9d8800bdd466
|
2019-12-27 00:32:21 +03:00 |
|
levlam
|
6d742ec9b6
|
Improve logging.
GitOrigin-RevId: 19ebd22de4f0b6fd036f6d8ec2a40c6808f5f7b8
|
2019-12-26 23:03:56 +03:00 |
|
levlam
|
e05f97638c
|
Store dialog_total_count between client restarts.
GitOrigin-RevId: 0631f79fd830352cd6f989ca020c8eadb212042c
|
2019-12-26 22:51:08 +03:00 |
|
levlam
|
f06e344c19
|
Add repair_secret_chat_total_count.
GitOrigin-RevId: c4b5f7d791a238aaf7cbd5655342d27fe2ae7080
|
2019-12-26 22:33:18 +03:00 |
|
levlam
|
ebb5949c4a
|
Add repair_server_dialog_total_count.
GitOrigin-RevId: b7dc63b6f6c2efadf59236fbd6e6bee05d33e448
|
2019-12-26 22:19:25 +03:00 |
|
levlam
|
de1bf02774
|
Add updateUnreadChatCount.total_count.
GitOrigin-RevId: e53105b6b7e185fbe68714948a606465d349d0cd
|
2019-12-26 21:44:35 +03:00 |
|
levlam
|
03311836af
|
Add DialogList.in_memory_total_count_.
GitOrigin-RevId: ab418de72778dc9a51761a5acbcf1fadc2116197
|
2019-12-26 05:21:09 +03:00 |
|
levlam
|
7e1fa1fcb9
|
Better warning silencing in force_create_dialog.
GitOrigin-RevId: 2f10cbe2091f2d2d8e15de8e813c5997954f9900
|
2019-12-25 22:57:12 +03:00 |
|
levlam
|
1fc1b76d5e
|
Better logging for results of getChannelParticipant.
GitOrigin-RevId: 08918a4577fa4e7337903e221a96ceb3534c11a4
|
2019-12-25 20:31:27 +03:00 |
|
levlam
|
9dde153313
|
Better integer casts.
GitOrigin-RevId: 3ae8b651f299dfe134ea5380891296cee44d01e9
|
2019-12-24 16:36:14 +03:00 |
|
Arseny Smirnov
|
e7e1521fd2
|
Fix example/tdweb build
GitOrigin-RevId: f924d875361fc363af32e5d703e3cac373927405
|
2019-12-23 21:33:03 +04:00 |
|
levlam
|
53ce59d00a
|
Do not hide edit date from bots.
GitOrigin-RevId: bea81ad9437f360908cd02a2fe2d63dce99c2390
|
2019-12-23 19:33:57 +03:00 |
|
levlam
|
64f73bebff
|
Better message entities debug.
GitOrigin-RevId: 05fea435da021773ca6fbb76e81680e4913cde51
|
2019-12-23 19:01:47 +03:00 |
|
levlam
|
8fd937af26
|
Better debug logging.
GitOrigin-RevId: 802ee45dc32cbd48023b1bef2678a7399488b674
|
2019-12-23 02:04:40 +03:00 |
|
levlam
|
c093afbf68
|
Add source to get_channel_full.
GitOrigin-RevId: 4df2ac6b75f92359bf838226f707742764e92209
|
2019-12-20 17:17:06 +03:00 |
|
levlam
|
7beb6d99d4
|
Fix saving repaired action bar.
GitOrigin-RevId: 0612ecd99c4bb15e0123d5337305ff071ec035e9
|
2019-12-20 16:42:26 +03:00 |
|
levlam
|
aa7d8c06bc
|
Add logging in repair_dialog_action_bar.
GitOrigin-RevId: 3aaf69fc3b5f366b00617e52e917a36381b87c2f
|
2019-12-20 16:32:56 +03:00 |
|
levlam
|
71fb1d87e0
|
Copy secret chat action bars from corresponding private chats.
GitOrigin-RevId: ced6ee8d98ba7798e8fe941b8506afbb0657d641
|
2019-12-19 01:27:38 +03:00 |
|
levlam
|
0594b9e795
|
Do not send chat actions to bots, deleted users and users with hidden online status.
GitOrigin-RevId: 8bd7c272b34ae6d977e58e89f0e76a158f02f150
|
2019-12-18 18:57:21 +03:00 |
|
levlam
|
2b94d84a2f
|
Notify server about viewed live locations once a minute.
GitOrigin-RevId: 4658a8807f9acc8820c73fa64a348c86e83dadd2
|
2019-12-16 18:39:40 +03:00 |
|
levlam
|
ca519dcc81
|
Notify server when live location is viewed.
GitOrigin-RevId: 526201f4539504800fab4552ff59d7e7a7b83fe2
|
2019-12-16 04:07:14 +03:00 |
|
levlam
|
2c47242374
|
Check validness of peer_user_id in secret chats.
GitOrigin-RevId: 299ad87085b8c7b1a1f0de15012e54dfdb2c4d6c
|
2019-12-16 01:58:57 +03:00 |
|
levlam
|
fc130aec51
|
Skip action bar repair on close.
GitOrigin-RevId: 3fa1fdc3d0664a2fb6d80f1010b2a5c20382253c
|
2019-12-15 23:38:32 +03:00 |
|
levlam
|
d4a701f48a
|
Add force_create_dialog debug.
GitOrigin-RevId: 31c3d381ea276519a8c93732ad88c6e99ffec295
|
2019-12-15 23:33:58 +03:00 |
|
levlam
|
cf1902c04a
|
Fix Message::parse.
GitOrigin-RevId: 7366e38479801b4e16eccd9756dd072027fcc0b0
|
2019-12-15 22:35:30 +03:00 |
|
levlam
|
fa04e668f6
|
Better support for GEO_LIVE_PENDING push notifications.
GitOrigin-RevId: 7fb392ec0e6471a09a3b325db48531700204c039
|
2019-12-14 01:57:17 +03:00 |
|
levlam
|
1dd4e1a767
|
Add td_api::updateMessageLiveLocationViewed.
GitOrigin-RevId: 2c9d6e1317e6604a23e30efab0dfa21a2e88f01d
|
2019-12-13 21:05:10 +03:00 |
|
levlam
|
3ec96b4c30
|
Remove channels from inactive channels list on new message or after leave.
GitOrigin-RevId: 8c9723ed489a714df0b70abe465c04eba1265b0e
|
2019-12-13 17:57:00 +03:00 |
|
levlam
|
4e223096da
|
Treat forwarded and via bot messages as copied.
GitOrigin-RevId: e3fcd5caea9a08c0a941f549a33356cd9b6075ce
|
2019-12-13 01:18:07 +03:00 |
|
levlam
|
be30ac854a
|
Use default sequence dispatcher for copied messages.
GitOrigin-RevId: 08058ff0492d0a0c6b432d00b8061b78d7849e94
|
2019-12-13 00:46:38 +03:00 |
|
levlam
|
14f1b3cd4b
|
Always ignore updateReadHistoryInbox.still_unread_count, because it can be wrong even in updates.
GitOrigin-RevId: ff2222911c995605d813a942ccf833b7e7d620bb
|
2019-12-06 22:49:07 +03:00 |
|
levlam
|
b13096e8a9
|
Fix adding to database of rescheduled messages.
GitOrigin-RevId: fe07906bdc9ef264d9d40e225dbc8fbb7d547acd
|
2019-12-06 21:46:57 +03:00 |
|
levlam
|
7b97e98164
|
Bug fixes.
GitOrigin-RevId: f2575e76da10f0071587504913d8c87acaf91133
|
2019-12-06 21:21:51 +03:00 |
|
levlam
|
2c030f1bed
|
Fix rescheduling of being edited message.
GitOrigin-RevId: f398f11ac37fbec9edbcbf8b470620f7d43db29d
|
2019-12-06 20:47:22 +03:00 |
|
levlam
|
bdc8c27bc4
|
More improvements.
GitOrigin-RevId: 627bf44586c26bc1e4817e42b611a1e470e44ee7
|
2019-12-06 20:31:34 +03:00 |
|
levlam
|
60c0c3a637
|
Use actual message_id.
GitOrigin-RevId: e1e62511c4752ad3c1339f694a6937a8d7075bee
|
2019-12-06 16:26:26 +03:00 |
|
levlam
|
d6ce1dfbc4
|
Rename have_message to have_message_force.
GitOrigin-RevId: 7ad820c8d73a5bcae4b30ccf2b1e3ba722047878
|
2019-12-06 05:02:02 +03:00 |
|
levlam
|
2baa52f975
|
Use exact ID of deleted message in updateDeleteMessages.
GitOrigin-RevId: cbed7d24434e07f5925044fdb65152f9e4809737
|
2019-12-06 04:56:27 +03:00 |
|
levlam
|
439ff9be0b
|
Do not allow to send scheduled live location and self-destructing messages.
GitOrigin-RevId: 17a93e32f995f67cc164ca7636c8a2025376525c
|
2019-12-06 04:25:44 +03:00 |
|
levlam
|
211ab071b2
|
Add MessageSchedulingState to sendMessageOptions.
GitOrigin-RevId: a2a7d6e3c9283b645b0a155f96c8165a7a717b8d
|
2019-12-06 03:08:11 +03:00 |
|
levlam
|
a3301ae07c
|
Introduce common SendMessageOptions for send message requests.
GitOrigin-RevId: 3cef644b80ec3641a9f15de7a5af13f90a9c7d94
|
2019-12-06 02:32:23 +03:00 |
|
levlam
|
797a117b60
|
Disable quick ack if reused media is sent.
GitOrigin-RevId: 4e1166d9fd2faf103c3f59775565fc510906d02d
|
2019-12-06 00:39:39 +03:00 |
|
levlam
|
6520bdea85
|
Scheduled messages bug fixes.
GitOrigin-RevId: e27dd1ab21e2b43f794bbae75a3c2d62016714c8
|
2019-12-06 00:31:28 +03:00 |
|
levlam
|
8bee3c715f
|
Support sending scheduled messages.
GitOrigin-RevId: 64d8e451182313ba95e5af0ae4f9af9f08330475
|
2019-12-05 20:34:19 +03:00 |
|
levlam
|
c01d0a89e6
|
Add set_message_id function.
GitOrigin-RevId: 0b8c03b6f26cfae0e388edd387a1d60576fe738d
|
2019-12-05 16:29:06 +03:00 |
|
levlam
|
f0cbbb49c8
|
Do not automatically read content of scheduled messages.
GitOrigin-RevId: a48b63b7645775f6a97abfd76326e830ebbf911e
|
2019-12-05 01:05:10 +03:00 |
|
levlam
|
11f313c283
|
Repair scheduled messages when has_scheduled_server_messages changes.
GitOrigin-RevId: 916d603b7b0715cf95ac07b900b820ff17fa1b6d
|
2019-12-05 00:58:59 +03:00 |
|
levlam
|
28f0cd5df5
|
Synchronize scheduled messages with the server.
GitOrigin-RevId: e4934cf80b6fd769891a684f01ff7d76eeae9cf9
|
2019-12-05 00:24:48 +03:00 |
|
levlam
|
f098a71926
|
Add persisitent has_scheduled_database_messages. Now Message.has_scheduled_messages should be always correct.
GitOrigin-RevId: 8fd4e1feceeae1f96599250410745069ff42b3a1
|
2019-12-04 22:43:14 +03:00 |
|
levlam
|
6b6d9e509b
|
Add limit to get_scheduled_messages.
GitOrigin-RevId: e49616784f920b526611ac44dd7c5c5d7b599318
|
2019-12-04 21:52:53 +03:00 |
|
levlam
|
4b3c36e924
|
Send updateChatHasScheduledMessages whenever a scheduled message is added or deleted.
GitOrigin-RevId: df1f6b90fa611f89c6b0c95131c33a6cd446807b
|
2019-12-04 21:44:40 +03:00 |
|
levlam
|
8b0be018b8
|
Add send_update_chat_has_scheduled_messages function.
GitOrigin-RevId: 40f93886362b53651c0eb5eb77b3847bc127bd83
|
2019-12-04 21:01:00 +03:00 |
|
levlam
|
bf0bc88e19
|
Better name for has_scheduled_messages.
GitOrigin-RevId: 8563f78409e3142baa21ac70f6c5bdeb1728c274
|
2019-12-04 20:51:52 +03:00 |
|
levlam
|
7bd137889b
|
Calculate scheduled messages hash.
GitOrigin-RevId: 2d3fc1e9d4e19913993ddf0d6aaee4303d2b41bc
|
2019-12-04 20:41:49 +03:00 |
|
levlam
|
a99c3ba264
|
Store and check separately deleted_scheduled_server_message_ids.
GitOrigin-RevId: 45eba775a6d80cb74a62616ff63a9dc1f6fa3ebd
|
2019-12-04 20:32:50 +03:00 |
|
levlam
|
b9666b727e
|
Add td_api::getChatScheduledMessages. Load scheduled messages from database.
GitOrigin-RevId: ab2554642ff588c227c40d4fa12ecc663608e7a4
|
2019-12-04 20:06:39 +03:00 |
|
levlam
|
b191c0e3f9
|
Support editing of scheduled messages.
GitOrigin-RevId: 5c288fcd12e06d13520b7baeb0aeec5acd01da38
|
2019-12-03 20:26:09 +03:00 |
|
levlam
|
fc8f1a9230
|
Support immediate send of scheduled messages.
GitOrigin-RevId: 84907f350f545dfd0f93129fd61c07692b5906cb
|
2019-12-03 16:16:19 +03:00 |
|
levlam
|
f5027bf97f
|
Add td_api::editMessageSchedulingState.
GitOrigin-RevId: 193c66fa63e84a8a233a3d60f0593df591d9f80d
|
2019-12-03 04:36:23 +03:00 |
|
levlam
|
256ab1c2f7
|
Add MessagesManager::get_message_sending_state_object function.
GitOrigin-RevId: 36300a157d085f96afe9dd62b865b952ba38d042
|
2019-12-03 03:20:38 +03:00 |
|
levlam
|
aa01368b38
|
Add Message.scheduling_state.
GitOrigin-RevId: fd950850b1258f49f8272e99a0b4975ab11a38d6
|
2019-12-03 03:12:41 +03:00 |
|
levlam
|
ff1b4566f0
|
Decrease total_count when get invalid recent location.
GitOrigin-RevId: 26bd0b3be1211fb2a9cad34034c54d68764b6f56
|
2019-12-03 00:44:13 +03:00 |
|
levlam
|
f3dfaa6c29
|
Support scheduled message in MessageId::get_next_message_id. Add get_next_yet_unsent_scheduled_message_id.
GitOrigin-RevId: dfe0c0b13c6312525564eba9f10f390f5ad09778
|
2019-12-02 23:29:08 +03:00 |
|
levlam
|
57eb92060b
|
Fixes for scheduled messages.
GitOrigin-RevId: 23bc0e408567366d21ba2f0f7be80983b6d92a15
|
2019-12-02 20:50:10 +03:00 |
|
levlam
|
f34a515e70
|
Support updateNewScheduledMessage.
GitOrigin-RevId: 09e706ddb7eab36e139bc6619a92272dcaef1fa4
|
2019-12-02 19:30:35 +03:00 |
|
levlam
|
bfd3d653a7
|
Support updateDeleteScheduledMessages.
GitOrigin-RevId: 9f2d0cf00a3e6ffe20c1b0834cad69fbb0861ad7
|
2019-12-02 19:20:54 +03:00 |
|
levlam
|
80d814e2ee
|
Support rescheduling in add_scheduled_message_to_dialog.
GitOrigin-RevId: 0e914bcf3d06f1b1df6f4f7858086c41216e529c
|
2019-12-02 18:22:05 +03:00 |
|
levlam
|
995e8895ba
|
Transparent return of a correct scheduled server message.
GitOrigin-RevId: c260cefdcef0a919f6aeb4a025500cfc3cd5af00
|
2019-12-02 17:56:03 +03:00 |
|
levlam
|
16f29863cd
|
Support scheduled messages in MessagesDb::get_message.
GitOrigin-RevId: 77f428b6b0012a41b2766b98ccf076d18b5eb513
|
2019-12-02 17:27:28 +03:00 |
|
levlam
|
1a0bb5f56f
|
Add scheduled messages database table.
GitOrigin-RevId: 6007af6d26f1c4577fd3e5f1613e5f89d1610fdc
|
2019-12-02 03:33:35 +03:00 |
|
levlam
|
b13213f9cb
|
Add is_scheduled parameter to on_get_messages.
GitOrigin-RevId: 534179758c55494fce0005d8aceaa74a2c3d7247
|
2019-12-02 00:11:15 +03:00 |
|
levlam
|
9b7d248518
|
Store scheduled message date by their server message ID.
GitOrigin-RevId: de3ea20ea659ce9cf620e7223375937c494699a1
|
2019-12-01 20:50:52 +03:00 |
|
levlam
|
039db3374a
|
Add GetScheduledMessagesQuery.
GitOrigin-RevId: f2881fcd10378fee44b0cfce060c25b18ed86541
|
2019-12-01 19:36:03 +03:00 |
|
levlam
|
f7cf15b9f2
|
Add strongly typed ScheduledServerMessageId.
GitOrigin-RevId: 222322bbf861c773b777c3b9beac3bf0dba561db
|
2019-12-01 19:03:51 +03:00 |
|
levlam
|
fb43213362
|
Add DeleteScheduledMessagesQuery.
GitOrigin-RevId: 958627be18ef34e89e2845d5e4fd095dbd4a66c4
|
2019-11-30 22:13:41 +03:00 |
|
levlam
|
af04f95daa
|
Add separate reget_message_from_server_if_needed function.
GitOrigin-RevId: 18b0a4f38ac429890832851370ff6371f6496ff1
|
2019-11-30 20:22:44 +03:00 |
|
levlam
|
7ea11b2150
|
Add separate update_sent_message_contents function.
GitOrigin-RevId: 621fd837d722355a6e5a392b3de390f6bc0839ba
|
2019-11-30 20:04:49 +03:00 |
|
levlam
|
10c743a839
|
Add separate speculatively_update_channel_participants function.
GitOrigin-RevId: 73cb67adffb5488686e181d460640e0682e418e3
|
2019-11-30 19:41:23 +03:00 |
|
levlam
|
0c2c587f8c
|
Add update_top_dialogs function.
GitOrigin-RevId: c5ea2e50e47693d37cb9e2d7dfea6176a2afed43
|
2019-11-30 19:29:52 +03:00 |
|
levlam
|
a75e53cdf3
|
Simplify update_used_hashtags usage.
GitOrigin-RevId: 998789ff1c53eaaac86a61728449ac6524e43326
|
2019-11-30 18:27:08 +03:00 |
|
levlam
|
8d8c3cacd4
|
Add change_message_files function.
GitOrigin-RevId: 3b6faf4c55cb11281ef98afc32534fb221716c1b
|
2019-11-30 18:17:34 +03:00 |
|
levlam
|
415229bfa6
|
Pass only dialog_id to need_delete_message_files.
GitOrigin-RevId: e5396f6bcaea435dca161d0cd47addfca42bfb79
|
2019-11-30 18:05:30 +03:00 |
|
levlam
|
a69c9a0f06
|
Simplify update_message usage.
GitOrigin-RevId: e4266a80dc4108053d293b5779fdf04d4988116d
|
2019-11-30 17:38:46 +03:00 |
|
levlam
|
fc6f1fc5f4
|
Add comment on calling set_dialog_reply_markup in on_get_message instead of add_message_to_dialog.
GitOrigin-RevId: e932db6bc5078baed759a6c7af6b2c72749db25a
|
2019-11-30 17:15:46 +03:00 |
|
levlam
|
40d13deeaa
|
Store scheduled messages in a separate treap.
GitOrigin-RevId: dc56897b3faa45e5092d036bbb73f357a6e4c607
|
2019-11-30 17:04:59 +03:00 |
|
levlam
|
1d9c00e9f4
|
Use MultiPromise in get_messages_from_server.
GitOrigin-RevId: e257dc31983b987cac0248d1a8dcf4b3cb2bd506
|
2019-11-30 15:50:27 +03:00 |
|
levlam
|
b78507e81d
|
Use MultiPromise to delete messages from server.
GitOrigin-RevId: 8fa8b27bfb4d3d394016e8b4fd18ea56294dae7a
|
2019-11-30 15:45:31 +03:00 |
|
levlam
|
d9160fd52c
|
Add treap_delete_message static function.
GitOrigin-RevId: 36433ee3bd262a791a916ee6b0f3207346894193
|
2019-11-29 20:30:55 +03:00 |
|
levlam
|
fdc81d6d9b
|
Improve spelling.
GitOrigin-RevId: c52f49b8637f641b0781f0af640c8e03a4fed121
|
2019-11-29 19:24:45 +03:00 |
|
levlam
|
3b1ab2ff8f
|
Add scheduled-safe MessageId comparison operators.
GitOrigin-RevId: edc6481519510a425bcf3f08bb46eaac1c923ee4
|
2019-11-29 19:11:06 +03:00 |
|
levlam
|
0c77eb2745
|
Pass raw pointers in find_*.
GitOrigin-RevId: 1f62c94647d861e2ff828c64391badd76c8e1ec9
|
2019-11-29 16:16:02 +03:00 |
|
levlam
|
c710403382
|
Move cancel_send_deleted_message call to on_message_deleted.
GitOrigin-RevId: 84a141e575f8a1b87508c208fe5f1649ab0900df
|
2019-11-29 15:57:03 +03:00 |
|
levlam
|
1a636768b9
|
Add cancel_send_deleted_message function.
GitOrigin-RevId: 64f33bc1540da85a4c2c81ca28d8f4e1849dd9fb
|
2019-11-29 15:52:18 +03:00 |
|
levlam
|
c65004efde
|
Padd Message pointer to cancel_send_message_query.
GitOrigin-RevId: 2e56372571b970d8549f5a8b9223218f1ffa9244
|
2019-11-29 15:30:48 +03:00 |
|
levlam
|
9948e41aed
|
Add support for scheduled message IDs in MessagesManager.
GitOrigin-RevId: b489f50556450a142427159a80d6488bf36622d1
|
2019-11-29 15:03:03 +03:00 |
|
levlam
|
6b24886bf0
|
Partial support for scheduled message IDs.
GitOrigin-RevId: 752336efc26fb73a038801b99b490d0f68163b04
|
2019-11-26 23:47:13 +03:00 |
|
levlam
|
0618005a95
|
Add FullMessageId.h.
GitOrigin-RevId: 758133149ff3317b3d9d3f86b1a841e8f34ca35a
|
2019-11-26 19:53:10 +03:00 |
|
levlam
|
9da6ecaf1f
|
Make MessageId layout private.
GitOrigin-RevId: a123b1bd7fe02110e699878c6c60dcc41b90c960
|
2019-11-26 03:32:05 +03:00 |
|
levlam
|
b4e45a2852
|
Make MessageId::SERVER_ID_SHIFT private.
GitOrigin-RevId: c7fa31a1fda75d874c674f0ee8e9ddcebde21c9d
|
2019-11-26 03:07:45 +03:00 |
|
levlam
|
5b1d363918
|
Add Chat.has_scheduled_messages flag.
GitOrigin-RevId: 6d7f211647c738d5912476232e8842c245d1f884
|
2019-11-25 19:11:24 +03:00 |
|
levlam
|
2a335089f9
|
Save is_from_scheduled Message flag.
GitOrigin-RevId: 6db9c1a244f275372fddd74977fdce37e8ffad35
|
2019-11-25 03:36:49 +03:00 |
|
levlam
|
df2b273aea
|
Add td_api::message.restriction_reason.
GitOrigin-RevId: 9ecf89e3f14ed64d6ce5bd33aed97e03feae794a
|
2019-11-24 02:28:48 +03:00 |
|
levlam
|
b00293992e
|
Fix hide_edit_date support.
GitOrigin-RevId: a6875a31b618f527883e8bc205efe8ac96f683b9
|
2019-11-22 14:02:18 +03:00 |
|
levlam
|
8b0f0cdaf6
|
Add support for hiding message edit date via server-side flag.
GitOrigin-RevId: 675035e0b7d087da9ec76c2e104fb8ba23f07c18
|
2019-11-22 00:02:09 +03:00 |
|
levlam
|
c5cc0e90f6
|
Update layer ro 106.
GitOrigin-RevId: 41e5db3d090559a7403accc8057c9957e6ead02d
|
2019-11-21 22:57:20 +03:00 |
|
levlam
|
0f353009f8
|
Improve slow mode.
GitOrigin-RevId: 068774033f5c84165e4833dafa29789d307ab97b
|
2019-11-21 16:58:00 +03:00 |
|
levlam
|
97cdacff7b
|
Update slow_mode_next_send_date when a message is sent.
GitOrigin-RevId: d373e4685a4c6b717272844b50da8fb3139b2f64
|
2019-11-21 02:41:53 +03:00 |
|
levlam
|
38696df14d
|
Load all drafts when chat list is loaded first time.
GitOrigin-RevId: 5f9190a53ecb131f3493dfd0bf53c04c3bf9fe8f
|
2019-11-17 22:27:52 +03:00 |
|
levlam
|
43d8e6ccdb
|
Return administrator ranks from getChatAdministrators.
GitOrigin-RevId: 8e3e540ae73aebacf9a3fe954b2b81511c999953
|
2019-11-11 19:14:32 +03:00 |
|
levlam
|
ad051b5522
|
Add td_api::chatEventSlowModeDelayChanged.
GitOrigin-RevId: ac41d0d684b422ed964c6d35af160992b988b2ce
|
2019-11-10 17:26:03 +03:00 |
|
levlam
|
6714476496
|
Improve logging.
GitOrigin-RevId: 932e48adddac8a163ed114e610fdee1a1d614700
|
2019-10-26 16:39:23 +03:00 |
|
levlam
|
1e018da7b8
|
Various fixes.
GitOrigin-RevId: b09e5fda6d25bd027f6bcbcbbe8324567b8ddcf8
|
2019-10-22 20:01:15 +03:00 |
|
levlam
|
ca35608868
|
Add chat_list filter to searchMessages.
GitOrigin-RevId: 3dbc4b3509545f3c23f0231c931af0a73bef8796
|
2019-10-22 15:06:11 +03:00 |
|
levlam
|
918f6a0cfd
|
Use td::contains and td::remove instead of std::find if possible.
GitOrigin-RevId: faa0863eb49ee8ce4c2138dfec022620f71d2f6a
|
2019-10-22 02:12:58 +03:00 |
|
levlam
|
56c3a2fbed
|
Use td::remove_if.
GitOrigin-RevId: 5cf21381966dc58689a06cc94cb8843fd8087bb9
|
2019-10-21 16:25:56 +03:00 |
|
levlam
|
4ae36f6564
|
Keep privacy exception flag when hiding action bar and reporting spam.
GitOrigin-RevId: 64c21e3ca52bf74b19b7ee40bee6c9218a6feb70
|
2019-10-17 20:55:55 +03:00 |
|
levlam
|
4e9ca731b2
|
Allow to create location-based chats through createNewSupergroupChat.
GitOrigin-RevId: 9f954674052a2710425555e9b517f06319eb949e
|
2019-10-14 17:51:12 +03:00 |
|
levlam
|
af527d0c9e
|
Support supergroups with location.
GitOrigin-RevId: 976b72eaf8d5fd2226b6d548ed8bca167b385264
|
2019-10-13 20:58:32 +03:00 |
|
levlam
|
35b9d56c64
|
Add DialogLocation, td_api::chatLocation and td_api::chatEventLocationChanged.
GitOrigin-RevId: 5bd47788c58065b0b79119d7d84c1d851a400417
|
2019-10-13 02:21:37 +03:00 |
|
levlam
|
d2047ff6d1
|
Add reload_user_full and use it to repair action bar.
GitOrigin-RevId: b7b4bc20b944caca0c086d9ecbf99756e8330c61
|
2019-10-11 18:39:10 +03:00 |
|
levlam
|
a3126dcce5
|
Add td_api::sharePhoneNumber.
GitOrigin-RevId: 522cee62cab40378802fbb5352f9d06ee2709a03
|
2019-10-11 17:59:04 +03:00 |
|
levlam
|
f6f9997730
|
Add td_api::chatReportReasonUnrelatedLocation.
GitOrigin-RevId: 2bb5993d4478766a5758a18768c6afe18dbc2130
|
2019-10-11 04:56:43 +03:00 |
|
levlam
|
49b43f8e94
|
Reload dialog action bar when it is opened.
GitOrigin-RevId: dcf0122af906a2628b9a02e1695e48b18b743bf8
|
2019-10-11 04:28:00 +03:00 |
|
levlam
|
7327b673de
|
Support action bar report in reportChat.
GitOrigin-RevId: 2c85ca043c9615a27c1bdf46b7fd01ed98940699
|
2019-10-11 04:17:46 +03:00 |
|
levlam
|
378ed2c659
|
Remove ChatReportSpamState and methods for it.
GitOrigin-RevId: 3de0cb0147ad70e4d540f5a61f1aa08c64423edd
|
2019-10-11 03:36:26 +03:00 |
|
levlam
|
825cb0dd0b
|
Add removeChatActionBar.
GitOrigin-RevId: 865c60b541cdfdc1465ab4814e1ca8c2c9ff0c49
|
2019-10-11 03:28:41 +03:00 |
|
levlam
|
62db4169a2
|
Update action bar when user is deleted.
GitOrigin-RevId: 1c31884369b944f79b2772e0142ce95a08ebafc1
|
2019-10-11 03:11:22 +03:00 |
|
levlam
|
9d229b7ad1
|
Update action bar when user is added to contacts.
GitOrigin-RevId: 52883ca7e29a3f1b9fe86a7cb210daba5c8cef46
|
2019-10-11 02:59:40 +03:00 |
|
levlam
|
a9dbaa6b78
|
Use dialog_type in fix_new_dialog.
GitOrigin-RevId: cf3fc67af2291e885fd3f6ed5682f708232ec876
|
2019-10-11 02:36:23 +03:00 |
|
levlam
|
d17a1734a4
|
Add repair_dialog_action_bar.
GitOrigin-RevId: 4157f18ad20ff09807b59433d86bce04b676fdf2
|
2019-10-11 02:32:25 +03:00 |
|
levlam
|
56af9f3f3c
|
Add updateChatActionBar.
GitOrigin-RevId: 116120e198e0c12c3e91f1dea4045ae3bc914e1c
|
2019-10-11 01:23:28 +03:00 |
|
levlam
|
24ecd9564e
|
Hide action bar when the user is blocked.
GitOrigin-RevId: 2c317e3612555f496da0b6f2f55f1de60f62cd57
|
2019-10-11 00:46:05 +03:00 |
|
levlam
|
91bdd50884
|
Add need_phone_number_privacy_exception.
GitOrigin-RevId: b1d6237900577a50dcc105d72962cebe62ee70ca
|
2019-10-11 00:18:34 +03:00 |
|
levlam
|
1b147a8142
|
Add Chat.action_bar.
GitOrigin-RevId: 4429f6d77af0686dd2c890423a4667a5251f0bff
|
2019-10-10 23:19:26 +03:00 |
|
levlam
|
99f4abb249
|
Update to layer 102. Replace LinkState with is_contact/is_mutual_contact.
GitOrigin-RevId: 33061b18ac72711f4df168fb27497bccb36d3367
|
2019-10-07 22:51:03 +03:00 |
|
levlam
|
87d875ca81
|
Update layer to 101. New entities type support.
GitOrigin-RevId: c4a4e73d20c27c2ad1440bae2acb9559d1f10a5d
|
2019-09-19 22:07:11 +03:00 |
|
levlam
|
408a456589
|
Add strongly typed StickerSetId.
GitOrigin-RevId: 518121f89e3a4c95ab5a2095a9bc2217090911de
|
2019-09-18 06:55:43 +03:00 |
|
levlam
|
15f31cf23a
|
Add storer and parser for unique_ptr.
GitOrigin-RevId: 2b0f5c8a3e9f7a9343cf9557d10cbf95009ba847
|
2019-09-18 02:42:38 +03:00 |
|
levlam
|
1d850cb14f
|
Better updating of legacy messages.
GitOrigin-RevId: 02baac67a94e4b4fe6dcf1a178ad08284868c85a
|
2019-09-17 01:08:05 +03:00 |
|
levlam
|
f18e771926
|
Fix moving secret chats to archive.
GitOrigin-RevId: 70e3a57ac80f244c93b1b0f2c37bf9c813ae0f14
|
2019-09-16 17:52:08 +03:00 |
|
levlam
|
f0fbc1576f
|
Fix recalc_unread_count.
GitOrigin-RevId: 9444866155256de9b474317c3e28267777f3bf36
|
2019-09-16 03:37:29 +03:00 |
|
levlam
|
003aee4268
|
Use data from the database for max_dialog_date.
GitOrigin-RevId: a1dc2d8ecf64a68209637bb1ce0d16a8b661770c
|
2019-09-15 04:15:46 +03:00 |
|
levlam
|
14d339b0bc
|
Add td_api::chatEventLinkedChatChanged.
GitOrigin-RevId: 6cd8d1a58db0d64bc98b7d738bc901dd8a8e5e39
|
2019-09-13 18:17:26 +03:00 |
|
levlam
|
9bf6b2c78a
|
Allow read access to linked channels.
GitOrigin-RevId: 24003a60c80a8e61354ba647fb616e92f88c6e48
|
2019-09-13 05:40:02 +03:00 |
|
levlam
|
1f22f9e0b7
|
Add support for LoginUrl buttons handling.
GitOrigin-RevId: 3b53d50a6619743830e065f34946869e56f94bcb
|
2019-09-07 02:07:56 +03:00 |
|
levlam
|
779fbb6d83
|
Update to layer 100. Add td_api::userPrivacySettingShowPhoneNumber and td_api::topChatCategoryForwardChats.
GitOrigin-RevId: 96fd17d9fef8e08b4415ec0d8e13e6cdb37f589b
|
2019-09-03 17:13:03 +03:00 |
|
levlam
|
a520a897a0
|
Use pts to apply channel unread_count.
GitOrigin-RevId: fd3f5515aec0a7504f1dd6a32aeeafd4c69c0e42
|
2019-08-28 00:27:12 +03:00 |
|
levlam
|
6dd224ab55
|
Pass pts to on_read_channel_inbox.
GitOrigin-RevId: ecfc1333caf77209d388430c4c23bef30e55ca6e
|
2019-08-27 18:32:39 +03:00 |
|
levlam
|
34352e7f1f
|
Use still_unread_count from updates.
GitOrigin-RevId: e506aaef608895d9a925b4b90594b9a7978c4e07
|
2019-08-27 18:24:37 +03:00 |
|
levlam
|
078e48b56a
|
Support folder_id in updateRead*Inbox.
GitOrigin-RevId: 26a80b22aa1e759f10b854bcbfb1c53d69f96150
|
2019-08-27 18:15:36 +03:00 |
|
levlam
|
0aa0a3b967
|
Add td_api::setChatChatList.
GitOrigin-RevId: 42340bc1ce169eadc73d6f29a06f6e87b70fe948
|
2019-08-27 17:23:01 +03:00 |
|
levlam
|
ae311f9973
|
Add folder_id support to DialogDb.
GitOrigin-RevId: 10d69d7b78542fd687925114d9f4c1c9e849d244
|
2019-08-26 20:08:51 +03:00 |
|
levlam
|
c1afa189f3
|
Support multiple chat lists.
GitOrigin-RevId: 8adecce0ddf36bb2408eecc19b7f1fc8856151fc
|
2019-08-22 18:24:02 +03:00 |
|
levlam
|
7c8cda75a2
|
Add get_dialog_public_order method.
GitOrigin-RevId: c9e17257409c74de85e00ebb5331f88a023d70d0
|
2019-08-20 20:25:38 +03:00 |
|
levlam
|
936a84c025
|
Update to layer 99. Add support for ChatListType.
GitOrigin-RevId: fdd5de60e479fa9a72975bee8e3cb911f390ec01
|
2019-08-19 04:51:03 +03:00 |
|
levlam
|
c1a201fd7f
|
Use main remote location for upload.
GitOrigin-RevId: 1a77b73bf73608e219cbf2a0d888f33b0c406a80
|
2019-11-17 22:41:28 +03:00 |
|
levlam
|
7de4f8b078
|
Do not add messages sent via bot to list of active live locations.
GitOrigin-RevId: fdd83122b83f2b20d2ab460c9d27dcf320a53c4d
|
2019-11-05 19:20:13 +03:00 |
|
levlam
|
ac60ef4c5a
|
Do not allow recursive call to set_dialog_pinned_message_notification.
GitOrigin-RevId: 91db05f21ec2feb322efa9c9be5aa76b9f49ad3f
|
2019-10-23 21:53:26 +03:00 |
|
levlam
|
b25e039a99
|
Fix running getDifference from read_history_inbox.
GitOrigin-RevId: d756bf323db13a40f7e09f070d522ab61549b489
|
2019-10-22 20:15:40 +03:00 |
|
levlam
|
3dc2716ee2
|
Drop invalid last_new_message_id.
GitOrigin-RevId: f9609a3cf52214f8d8f76b201afcd6fbd74ee1be
|
2019-10-18 17:43:31 +03:00 |
|
levlam
|
8f58e11020
|
Replace emptiness CHECK with explicit clear().
GitOrigin-RevId: 65a2a6b5c3f67845140a9d2182a1859bceaa9d7b
|
2019-10-18 17:27:15 +03:00 |
|
levlam
|
c597cfd121
|
Delete pending notifications in remove_all_dialog_notifications and remove_message_dialog_notifications.
GitOrigin-RevId: 913c5accbe16d6a1f455eb2db67c0453fcde6e7a
|
2019-10-18 17:21:00 +03:00 |
|
levlam
|
066407d7dd
|
Pass from_mentions instead of NotificationGroup to remove_all_dialog_notifications.
GitOrigin-RevId: bd7d084bdf6cbfe0dacfc40e7d51d6fc8a8eac18
|
2019-10-18 17:02:34 +03:00 |
|
levlam
|
30250216e8
|
Never log updateReadHistoryInbox with 0 max_message_id.
GitOrigin-RevId: f4b3ca895e39f55318054268329d26b7932e41c3
|
2019-10-18 15:57:16 +03:00 |
|
levlam
|
c91efe472b
|
Add force to another overload of get_input_media.
GitOrigin-RevId: fc64a9f6ee08e5432c6475f8b1493bcd2524ae4f
|
2019-10-09 02:59:25 +03:00 |
|
levlam
|
dcfa6d1ea6
|
Improve logging on failed CHECK.
GitOrigin-RevId: 34a9fdad6499503edca51c4c3136731d2c8acb8a
|
2019-10-03 23:23:38 +03:00 |
|
levlam
|
ef924d218d
|
Better logging on invalid database data.
GitOrigin-RevId: f474f0493d701758836c3c0345ff8697b5be9ce5
|
2019-10-03 23:04:33 +03:00 |
|
levlam
|
0e2898b81e
|
Add td_api::notification.is_silent.
GitOrigin-RevId: bab4a0c401913177b9fc794ee510c912be3f2727
|
2019-10-03 21:58:50 +03:00 |
|
levlam
|
61c883b971
|
Add check for max_unavailable_message_id validness.
GitOrigin-RevId: f5b32a7d3b122981456d5d63f40513526a633d06
|
2019-10-03 18:09:21 +03:00 |
|
levlam
|
64f813fffb
|
Add more logging.
GitOrigin-RevId: 1485d6332d7440fd63db756bfa8b250fe50b1cab
|
2019-10-03 17:21:05 +03:00 |
|