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 |
|