levlam
|
7970c9356a
|
Never add duplicate dialogs to filter.
GitOrigin-RevId: d708e60b6712610e27eff66c58a0574aa2cf5442
|
2020-05-19 01:23:13 +03:00 |
|
levlam
|
d2b53fc023
|
Add td_api::deleteChatFilter.
GitOrigin-RevId: ceb3700d72271c6b570d258f6cf5e46f50d80b07
|
2020-05-19 01:06:24 +03:00 |
|
levlam
|
49ccb05176
|
Add td_api::editChatFilter.
GitOrigin-RevId: 51af78e8079dbb89421cdfbd81d4e37b10d95f03
|
2020-05-19 00:47:34 +03:00 |
|
levlam
|
d1bb70820a
|
Add DialogFilter::get_dialog_filter.
GitOrigin-RevId: 0e8e6c5a8a4457c72a5e0c647288bdfef1d99d16
|
2020-05-18 22:31:22 +03:00 |
|
levlam
|
cc77e7e9ca
|
Add td_api::createChatFilter.
GitOrigin-RevId: 4c3fa89cae21b1db3643cfe7640d8ef1043b99f9
|
2020-05-18 22:26:44 +03:00 |
|
levlam
|
e662e210ef
|
Add secret chats support in getDialogList.
GitOrigin-RevId: 3169ed59345ffd4bb82e106cd3b883de9f85df53
|
2020-05-18 02:39:59 +03:00 |
|
levlam
|
5959333499
|
Add td_api::getChatFilter.
GitOrigin-RevId: 024ec630489928bd30fcba6c0c809d4970b66b6c
|
2020-05-18 02:29:28 +03:00 |
|
levlam
|
d3ed675cc2
|
Always return pointer from get_dialog_list.
GitOrigin-RevId: 4b16c99a9704189821e528aeb4f088b2789015c8
|
2020-05-15 16:32:07 +03:00 |
|
levlam
|
0e5b939a73
|
Support telegram_api::updateDialogFilters.
GitOrigin-RevId: 0a3ada4fa00079a120d358b0abaf413bbb88466d
|
2020-05-15 01:44:52 +03:00 |
|
levlam
|
2bbbfd684d
|
Add updateChatFilters.
GitOrigin-RevId: 6dcc138d5d83dfcf7a6c0ec4108ea2c516f8caf6
|
2020-05-15 01:39:28 +03:00 |
|
levlam
|
c2ce25ee44
|
Add MessagesManager::need_dialog_in_list.
GitOrigin-RevId: 9e1b6d98f9fd47c23a9af237c632809a145f7b58
|
2020-05-12 01:57:17 +03:00 |
|
levlam
|
a2339a1514
|
Add total_dialog_count to DialogOrderInList.
GitOrigin-RevId: 2fca8a0788521b2f6d542102c4d36015a927d6f8
|
2020-05-10 22:06:13 +03:00 |
|
levlam
|
2a700693ce
|
Unpin dialog before changing folder_id.
GitOrigin-RevId: eae801a366f777db3872bc1e0ed4258e9d159e07
|
2020-05-10 01:28:17 +03:00 |
|
levlam
|
3a577baf9b
|
Add get_dialog_base_order.
GitOrigin-RevId: 9c9627826585365e5f15a2080833fabff8371327
|
2020-05-09 23:51:14 +03:00 |
|
levlam
|
f6b7ce83f7
|
Implement update_dialog_lists.
GitOrigin-RevId: 86e87827fe15c6404d1a0e859a99063ea2173557
|
2020-05-09 23:39:11 +03:00 |
|
levlam
|
3c93bf8da2
|
Remove chat.chat_list.
GitOrigin-RevId: 24149fa780522d30546e8fb820441ee58046a6c5
|
2020-05-09 02:15:40 +03:00 |
|
levlam
|
0613614651
|
Add td_api::chatPosition instead of order, is_pinned and source.
GitOrigin-RevId: b1abfde7442368e062a505e179d5510daea7335a
|
2020-05-08 15:48:25 +03:00 |
|
levlam
|
86440b8a7b
|
Use get_dialog_lists.
GitOrigin-RevId: 348ca9cf4213b40060fa772e93f6b1fc2c5bf593
|
2020-05-04 15:58:41 +03:00 |
|
levlam
|
4fe08330d9
|
Add get_dialog_lists method.
GitOrigin-RevId: 9d228b0681ddeef07963223f7fc93c96a1798168
|
2020-05-04 01:47:26 +03:00 |
|
levlam
|
2408b46150
|
Optimize get_dialog_pinned_order.
GitOrigin-RevId: c313c29889afca63a0ccf983d9d97013b3ac33ee
|
2020-05-04 00:51:01 +03:00 |
|
levlam
|
186a3d133a
|
Rename ordered_server_dialogs_ to ordered_dialogs_.
GitOrigin-RevId: e2e14b2438bd434e3cbae9ca7605296b4c55b6c7
|
2020-05-03 22:59:28 +03:00 |
|
levlam
|
1130708995
|
Remove persistent current_pinned_dialog_order_.
GitOrigin-RevId: 63a74b4ec8d1de6af090390df0e4688677c46626
|
2020-05-03 01:38:11 +03:00 |
|
levlam
|
ba0e0dacfa
|
Store pinned dialog list in binlog.
GitOrigin-RevId: 819de60a7c5e8bdedf69e2e390494005af16ab6b
|
2020-05-03 01:10:54 +03:00 |
|
levlam
|
8a95f1d21e
|
Do not update unreceived notification update count if received duplicate group_id.
GitOrigin-RevId: 7856aef2ce0fc42ab76ffbb5e4fe1f613f933ad5
|
2020-05-31 02:13:00 +03:00 |
|
levlam
|
82d14a6ec1
|
Temporarily return file_reference repair for secret files.
GitOrigin-RevId: 8c5266cd5e130fbb3628ec532ce8ba3c3ec5a692
|
2020-05-29 10:24:07 +03:00 |
|
levlam
|
54e5afe41c
|
Force getChannelDifference if receive too new updateChannelReadInbox.
GitOrigin-RevId: 0d2f346a00be7a3c97919e96f60c92bf1cea0eb7
|
2020-05-25 00:31:00 +03: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 |
|
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 |
|
levlam
|
5f94662807
|
Always treat pins as mentions.
GitOrigin-RevId: 8a573c3b67c198e246d81a1ff64b5a702b45fac3
|
2019-09-30 23:29:56 +03:00 |
|
levlam
|
fff1b6d4b5
|
Add input_media debug.
GitOrigin-RevId: f4285e14666cd4707e8737b8d2ae69fccdce0151
|
2019-09-30 18:02:52 +03:00 |
|
levlam
|
0b6c1d226f
|
Update clag-format to the latest (190926/r372920) version.
GitOrigin-RevId: 7861ae8ad28eb1f6a06ff3c6f56eff3f67b1d24c
|
2019-09-28 05:14:21 +03:00 |
|
levlam
|
f29c4a9ed1
|
Remove unneded explicit td::.
GitOrigin-RevId: e3888510ce72a55072a11d105311f07b4ba42bbf
|
2019-09-15 06:19:46 +03:00 |
|
levlam
|
b52d31e610
|
Remove unused assignment.
GitOrigin-RevId: dc77bab49db3a5b45ac40b2075fbd8cd3d4d8185
|
2019-09-08 04:30:14 +03:00 |
|
levlam
|
2fa2e966c9
|
Fix saving dialog to database while closing.
GitOrigin-RevId: 2d6ff48ce7587282c12bc0e470e44b1085b46f99
|
2019-09-05 18:26:42 +03:00 |
|
levlam
|
331a48a898
|
Fix order of updates applying in secret chats.
GitOrigin-RevId: 3cf1c152c4faf21bc3d1f6cb58fcbce6417623ef
|
2019-09-04 21:29:27 +03:00 |
|
levlam
|
4d827dbc78
|
Improve logging.
GitOrigin-RevId: f6535e18bc2e3b65a1def9b787ee5902ff16e5e9
|
2019-09-04 20:49:24 +03:00 |
|
levlam
|
0d2df39a2e
|
Silence sendChatAction errors.
GitOrigin-RevId: 138ea490da2a7d59695c58332ac176abeb4efcd9
|
2019-09-02 17:59:33 +03:00 |
|
levlam
|
a131af270a
|
Do not send typings to channels.
GitOrigin-RevId: c66eb66d3149175114d05222e1cd92de9bc41430
|
2019-09-02 17:15:33 +03:00 |
|
levlam
|
7ca14d0851
|
Fix name and expected size of sent files in secret chats.
GitOrigin-RevId: ec2bc60a91ec5f1c7bfc6481a852526a36984962
|
2019-09-02 04:40:02 +03:00 |
|
levlam
|
e09979d8ac
|
Increase logevent_id_generation before sending server request.
GitOrigin-RevId: ebb1bdb8b3802b0b2cd6c55c9b85817c219c222a
|
2019-08-31 02:32:47 +03:00 |
|
levlam
|
6babab76f0
|
Improve synchronization of unread mentions count.
GitOrigin-RevId: 6fa968ff0e2c2b4865078a275aa5bf1603e70583
|
2019-08-31 01:56:16 +03:00 |
|
levlam
|
b9ee9d0cf0
|
Use send_closure_later in timeout_callback just in case.
GitOrigin-RevId: ee1cee46052af875886477583cfc859503e73bcc
|
2019-08-29 03:16:49 +03:00 |
|
levlam
|
787e370002
|
Do not create empty PendingMessageGroupSend to not try to use it in on_upload_message_media_finished.
GitOrigin-RevId: 5210a6072b566d270ec1f3b65183d153adf47ea6
|
2019-08-28 03:39:47 +03:00 |
|
levlam
|
607f99e40d
|
Fix sending games via bot.
GitOrigin-RevId: 41f71dba07c0d441660650a0f8a01c3f4a94d778
|
2019-08-28 03:01:15 +03:00 |
|
levlam
|
31e26a7004
|
Delete message files in all chats.
GitOrigin-RevId: 34981a807b217e657ff656940117ae9b38936fb9
|
2019-08-28 00:43:48 +03:00 |
|
levlam
|
67f427af73
|
Allow to resend messages, which failed to send, because they are too old.
GitOrigin-RevId: d9cbfb1433580e3214d81dac443b1d5ba43f818f
|
2019-08-16 02:59:03 +03:00 |
|
levlam
|
25d4e27b3d
|
Add persistent real_forward_from_message_id.
GitOrigin-RevId: a1272a710019de980f3b678256fd82f3c7b83242
|
2019-08-16 02:50:22 +03:00 |
|
levlam
|
617a398efa
|
Message resend fixes.
GitOrigin-RevId: 6233a854c75e0d51f2a3e6bb21448608d934bbc3
|
2019-08-15 22:11:06 +03:00 |
|
levlam
|
9007f106b9
|
Update layer 98. Support for legacy messages flag.
GitOrigin-RevId: b10c8b60b7fbdfdbf8ab15e65ed32f1daa6c9ad2
|
2019-08-15 18:16:09 +03:00 |
|
levlam
|
1726e10a8a
|
Delete messages in inaccessible chats only in channels.
GitOrigin-RevId: cddc5bcd03cd215e2436fc7d411d85593aa557d7
|
2019-08-13 16:58:34 +03:00 |
|
levlam
|
378b1df843
|
Add td_api::resendMessages.
GitOrigin-RevId: 41c14a76aaf05745592328909e47efd5feca2437
|
2019-08-11 04:05:00 +03:00 |
|
levlam
|
ee3921f959
|
Save real_forward_from_dialog_id between restarts.
GitOrigin-RevId: 3282a9f703ec8b9b8d6cccfb088cf5ceaad8202a
|
2019-08-11 03:20:16 +03:00 |
|
levlam
|
cbd4b2a8a4
|
Add MessagesManager::generate_new_media_album_id() method.
GitOrigin-RevId: 1a0c71404b09585f66728ea494a8bd920795664c
|
2019-08-11 02:10:21 +03:00 |
|
levlam
|
611878f098
|
Add is_bot_start_message flag.
GitOrigin-RevId: 02725fba5857f1e8212b998eaf3c33006382fddb
|
2019-08-11 01:23:34 +03:00 |
|
levlam
|
d7be30f658
|
Save hide_via_bot flag.
GitOrigin-RevId: 0bf270274f8bd85fa50b1126e4850cdb35dfc5a7
|
2019-08-11 01:10:01 +03:00 |
|
levlam
|
c045fce56a
|
Add information about failed to send messages.
GitOrigin-RevId: a4cb3669b5cf478a2e2f5ca1ecf2ea9c5f3ef5cc
|
2019-08-11 00:14:35 +03:00 |
|
levlam
|
3bca7b1448
|
Add send_copy to inputMessageForwarded.
GitOrigin-RevId: 7327021564789e8ff436e2f56f243684b7ce8183
|
2019-08-09 20:28:49 +03:00 |
|
levlam
|
c71dbc28a0
|
Add send_copy parameter to forwardMessages.
GitOrigin-RevId: 059f992cc8b9c6ae1c6ab3910ffc52b906d12e88
|
2019-08-09 17:41:26 +03:00 |
|
levlam
|
1685d77455
|
One more transaction.
GitOrigin-RevId: fde1d2448aad24ee0487377e353b6bc3f0fca240
|
2019-08-08 18:37:16 +03:00 |
|
levlam
|
f7bbcab502
|
Use transaction in get_message_notification_group_force.
GitOrigin-RevId: 7573d95313559ce10acce1e701a83fcb26d558df
|
2019-08-08 18:31:46 +03:00 |
|
levlam
|
ef5c2ea722
|
Fix warning.
GitOrigin-RevId: 7fbd0b38862a906e0b3fe0b2acee7eb34175434a
|
2019-08-07 05:04:55 +03:00 |
|
levlam
|
a95370686a
|
Allow zero read_inbox_max_message_id from updates.
GitOrigin-RevId: bfcf66196cc65f183954dd9959f27f642df070fb
|
2019-08-07 03:49:45 +03:00 |
|
levlam
|
6b06f43bfd
|
Fix increasing message index count for sent media.
GitOrigin-RevId: c77d4dc9ae16d40cc655dffc26da451fcfe3a2b9
|
2019-08-07 02:05:35 +03:00 |
|
levlam
|
8059ac0472
|
Preload chats from database before applying updatePinnedDialogs.
GitOrigin-RevId: 0ebfa4ae3147e16ac7b9b7a812e23792b8a60871
|
2019-08-06 01:02:09 +03:00 |
|
levlam
|
5ca0a72ddf
|
Add td_api::getMessageLinkInfo.
GitOrigin-RevId: 34213fdada780b9bb8fe6a6db5a0de3be097b55c
|
2019-08-05 12:12:59 +03:00 |
|
levlam
|
fb3d439dac
|
Send updateDeleteMessages for unknown messages in channels.
GitOrigin-RevId: 2880ebd0a885fb8f8faee4959095bd834f0ddc91
|
2019-08-02 14:55:47 +03:00 |
|
levlam
|
6464b302e9
|
Remove delete_dialog_history_from_server debug.
GitOrigin-RevId: f487ebd62f726c0e2ae8e53c3658081cd474c34f
|
2019-07-30 19:33:58 +03:00 |
|
levlam
|
06e587a5f3
|
Improve documentation.
GitOrigin-RevId: d493d4c9a623acc454c26fb65f96ed521be59c49
|
2019-07-26 22:38:55 +03:00 |
|
levlam
|
e76c98ad74
|
Fix animated stickers extension.
GitOrigin-RevId: 69d65bd19e46fe2eb2dc6ebb4afd6dd64164ffc9
|
2019-07-18 19:47:29 +03:00 |
|
levlam
|
5a7f326140
|
Support animated stickers.
GitOrigin-RevId: f4a02797a47ffb39eaeee5bcc75ad4b5231dfdfd
|
2019-07-15 03:43:05 +03:00 |
|
levlam
|
c1752528f2
|
Do not save GetChannelDifferenceLogEvent if background updates are ignored.
GitOrigin-RevId: bbcc1028ab24d8f80a85ec2edd93acac41cfa7a6
|
2019-06-27 20:00:43 +03:00 |
|
levlam
|
8fc2906fbd
|
Check that there are no messages added to chat except last message in fix_new_dialog.
GitOrigin-RevId: 01cea39e085b684c520517278714180553514340
|
2019-06-20 21:03:12 +03:00 |
|
levlam
|
b498688054
|
Init unknown last_new_message_id to max_unavailable_message_id.
GitOrigin-RevId: cd70cf1e8fb571c69f8cbef5442881567a87b134
|
2019-06-20 18:39:12 +03:00 |
|
levlam
|
3f77a39a33
|
Add from_message_id check.
GitOrigin-RevId: a69132dc605d89698be2a8fd98f400019ecaf442
|
2019-06-20 16:57:12 +03:00 |
|
levlam
|
c72832b462
|
Fix skipping channel difference for inaccessible channels.
GitOrigin-RevId: 15d78b8ea6b20c7544f121baf9179deacca94d0d
|
2019-06-19 02:44:58 +03:00 |
|
levlam
|
00bf243f37
|
Fix get_chat_event_action_object.
GitOrigin-RevId: dc9796295dc5eb8d30ed2beb974005a9b8c2c3b3
|
2019-06-17 19:46:07 +03:00 |
|
levlam
|
0a0b875a27
|
More strict check before trying to reuse secret chat notification group id.
GitOrigin-RevId: 588b76ae86fc6c869001627baea05765e9f0044c
|
2019-06-17 18:27:23 +03:00 |
|
levlam
|
11e9923e0a
|
Improve is_acceptable_message.
GitOrigin-RevId: 494c88118bcb8da8e2e8cb956efd28ced3b424b5
|
2019-06-17 04:25:33 +03:00 |
|
levlam
|
88587ac6fd
|
Do not send getChannelDifference in inaccessible channels.
GitOrigin-RevId: 52fd4ff98a2dc3938801aeff4cd77d17aef86cd8
|
2019-06-16 22:40:38 +03:00 |
|
levlam
|
f514508211
|
Add cgecks that messages are received in decreasing message id order.
GitOrigin-RevId: 2223481886d112495f4d2996937720468a7d80c5
|
2019-06-16 22:09:37 +03:00 |
|
levlam
|
798ac5e3df
|
Consistently use m for Message *.
GitOrigin-RevId: 7cbcba0d72d5d8b0a95046f81ec5bf03f3c6e60e
|
2019-06-11 02:55:07 +03:00 |
|
levlam
|
8a6dcfe5f4
|
Better Message objects in chat event log.
GitOrigin-RevId: 4fc6a93e72646cabf07e05207c0aaf2ae7bf6420
|
2019-06-11 02:30:00 +03:00 |
|
levlam
|
4c781ebb7b
|
Update layer to 98.
GitOrigin-RevId: 7bc09a6ec637f12b2f90bc1fb6d82903feffc376
|
2019-06-08 12:26:35 +03:00 |
|
levlam
|
b59abdc9f7
|
Add td_api::searchEmojis.
GitOrigin-RevId: 01540620ce3e0d7e64cb1ec409774a003cfd42e9
|
2019-05-21 18:48:35 +03:00 |
|
levlam
|
05840e3816
|
Fix returning unknown chats in searchChatsOnServer.
GitOrigin-RevId: 5abb26ff59b3d0e18565415c4077f430b592e186
|
2019-05-17 16:46:27 +03:00 |
|
levlam
|
7cd835f4fa
|
Update layer to 97. Support new privacies.
GitOrigin-RevId: d78d9e44557cd1ed77fc83c25986764c4547fb35
|
2019-05-14 03:18:34 +03:00 |
|
levlam
|
b4b9778947
|
Add td_api::chatMembersFilterContacts.
GitOrigin-RevId: 2f8f18da88a0de2c5df5bd1d0207d424b6b4e89b
|
2019-05-12 21:49:21 +03:00 |
|
levlam
|
b641382eab
|
Support pinned_message version in basic groups.
GitOrigin-RevId: 75a011aa0ad138f9bf165870603c1be82038bbc8
|
2019-05-12 21:19:03 +03:00 |
|
levlam
|
0dde3350ab
|
Update layer to 96.
GitOrigin-RevId: d131512a567520773467dd8d482eb9675b052691
|
2019-05-12 06:00:24 +03:00 |
|
levlam
|
3bf9bae32f
|
Better fatal error message on message_id overflow.
GitOrigin-RevId: d920ec7f39d43bd8578a49f85567949a14edcff2
|
2019-05-12 02:06:32 +03:00 |
|
levlam
|
a7ef1062a5
|
Do not add chats without notifications to notification settings exceptions.
GitOrigin-RevId: 64006dfd576b4d1483ba22068bc20de409bc0c64
|
2019-05-12 01:44:35 +03:00 |
|
levlam
|
db59a7f2cc
|
Add more debug.
GitOrigin-RevId: 890a15de0a264b155a28e36f09977f58d26986c3
|
2019-05-04 17:33:23 +03:00 |
|
levlam
|
0184df07f3
|
Probably fix race in reusing notification group.
GitOrigin-RevId: d7359c1d22ad7aecead1844696915c3946c158dc
|
2019-05-04 01:03:10 +03:00 |
|
levlam
|
92462100e8
|
Add delete_dialog_history_from_server debug.
GitOrigin-RevId: 617d5ccdcbd9e753ad3902a917b68896619fe06b
|
2019-05-03 17:16:21 +03:00 |
|
levlam
|
3c6f21d5a3
|
Trying to fix recursive call of actor.
GitOrigin-RevId: 7796903536a43bc5ee149fe8b937ce8e7d377b02
|
2019-05-03 16:44:52 +03:00 |
|
levlam
|
e83184f9fc
|
New chat permissions checking.
GitOrigin-RevId: ef555c6cb407efbf3092cda554b1992155c6e1e4
|
2019-03-22 18:18:46 +03:00 |
|
levlam
|
2a0f26d24e
|
Add td_api::chatEventPollStopped and td_api::chatEventPermissionsChanged.
GitOrigin-RevId: 2f8af49d048392649ce23040f590ec71bf15c061
|
2019-03-20 23:13:11 +03:00 |
|
levlam
|
c636408a7a
|
Remove unneded mutable specifiers.
GitOrigin-RevId: 528550993874adb2ff29f9f88273339937919c8b
|
2019-03-20 21:13:45 +03:00 |
|
levlam
|
9b8a5438be
|
Add td_api::setChatPermissions.
GitOrigin-RevId: ce072b20283e5a1887bd94fea33ad4d0cb4ec5b9
|
2019-03-20 20:58:13 +03:00 |
|
levlam
|
454d8d3987
|
Add td_api::chatPermissions support.
GitOrigin-RevId: 38cc232035e54665e140772b13316c31ecc38df6
|
2019-03-20 15:28:06 +03:00 |
|
levlam
|
ed3e4b7d67
|
Add basic group description support.
GitOrigin-RevId: 030f1a2c149fd085f90a4153e7c76a6adb14e00c
|
2019-03-18 05:24:25 +03:00 |
|
levlam
|
63b3831437
|
Do not warn on more useless updates.
GitOrigin-RevId: ac59539f2c34aec22dbbad5863ce052da0a300f6
|
2019-06-06 18:35:46 +03:00 |
|
levlam
|
01a1538570
|
Clear *_database_message_id when receive no messages from the database.
GitOrigin-RevId: 9c43ed5052a3c389de78573b3fa58a2a10c40572
|
2019-06-05 03:48:49 +03:00 |
|
levlam
|
0181982749
|
Improve getting groups in common.
GitOrigin-RevId: 211d8706823b9aa509af00855083a1981a0a963a
|
2019-06-05 03:14:54 +03:00 |
|
levlam
|
71d6963e50
|
Fix warning.
GitOrigin-RevId: 07ec6a5dabf6aeb480564285e56240ff45642e63
|
2019-06-05 01:53:54 +03:00 |
|
levlam
|
b3d3075c08
|
Fix pinned message notification when mention notifications are disabled.
GitOrigin-RevId: ba7fe3965f9afa50a062f786c90997ed9951e1eb
|
2019-06-05 01:44:30 +03:00 |
|
levlam
|
b7f0df977d
|
Silence warning.
GitOrigin-RevId: 1873c21e6e31a39c4d24bbd0f1dec099a2ec466b
|
2019-06-02 03:01:35 +03:00 |
|
levlam
|
e164355af3
|
Fix setting last_new_message_id.
GitOrigin-RevId: 69565843b6db635dffaa6e407ac406982abac967
|
2019-06-02 01:19:05 +03:00 |
|
levlam
|
44aede31ca
|
Add more logging.
GitOrigin-RevId: 43b44b116e835cbaeb56119254b0de73aa57bdcd
|
2019-05-30 01:35:19 +03:00 |
|
levlam
|
b896fbe1be
|
Add more debug.
GitOrigin-RevId: 26d7dd6b78c0d34e218d84ce29c8806753104624
|
2019-05-29 21:55:31 +03:00 |
|
levlam
|
575c3dfe4d
|
Add support for messages without sender.
GitOrigin-RevId: a153b17b8ffa0dab998dcb911cdba8af78130b83
|
2019-05-29 05:05:51 +03:00 |
|
levlam
|
dfa183a358
|
Fix can_set_game_score.
GitOrigin-RevId: 6d4a51af6d9391bec18cad63d9f53bf792dadc3f
|
2019-05-28 02:17:52 +03:00 |
|
levlam
|
b09c7632c1
|
Disable edit time limit for reply markup in other's channel messages.
GitOrigin-RevId: 0532b9f3283981a2558b6c2698ae21cf7610897a
|
2019-05-28 02:05:44 +03:00 |
|
levlam
|
5e8be86d9f
|
Support forwsrd text for login URL buttons.
GitOrigin-RevId: c5682599198cacfd7b7945f6b43e6af4ded4aedf
|
2019-05-27 17:48:15 +03:00 |
|
levlam
|
55fd1c30af
|
Keep reply_markup in some forwarded messages.
GitOrigin-RevId: 8059cf0b071edb6ac62eff5d77749080d48916c3
|
2019-05-24 14:48:10 +03:00 |
|
levlam
|
93dd076d8a
|
Support LoginUrl buttons.
GitOrigin-RevId: ca630cc32bf17df6dcedcff4ffa8507fb82ae9cc
|
2019-05-23 23:35:26 +03:00 |
|
levlam
|
b49e312389
|
Made need_delete_message_files const.
GitOrigin-RevId: b547551f6968766447e448c00c0bd65333316886
|
2019-04-29 06:21:43 +03:00 |
|
levlam
|
b78db4d902
|
Trying to keep files, needed for messages in other chats.
GitOrigin-RevId: 454f3143aec958a08ea35edecc808ef99eb795cf
|
2019-04-28 20:21:44 +03:00 |
|
levlam
|
8927a862e1
|
Fix repairing of unreceived sent message.
GitOrigin-RevId: 8ded037fa5361fe0c89341c622ebc98d5047f257
|
2019-04-28 17:45:53 +03:00 |
|
levlam
|
b7490e626b
|
Add consistency checks for message deletion.
GitOrigin-RevId: 8d37c28f2bbf6c12821437a3670e64a03d841495
|
2019-04-28 17:07:27 +03:00 |
|
levlam
|
4e632186b5
|
Fix logging.
GitOrigin-RevId: ab3c4160191de1da430d26a89280ead9ae7e66bc
|
2019-04-28 01:23:00 +03:00 |
|
levlam
|
e3cb6bb456
|
Fix applying of getChannelDifference.
GitOrigin-RevId: 6c0e6e73a809037a88c9e225718a71a50a854617
|
2019-04-27 21:37:24 +03:00 |
|
levlam
|
be685c7a6d
|
Add debug.
GitOrigin-RevId: 97f3d2927e7f7a0b0f11e79140e2cdb0873b1704
|
2019-04-27 16:21:08 +03:00 |
|
levlam
|
0ed6024d0c
|
Save only server message IDs as group_info.max_removed_message_id, because local message IDs can be reused.
GitOrigin-RevId: 931d3c165e9ab297da14aba32b6852e49d99da2e
|
2019-04-26 02:13:42 +03:00 |
|
levlam
|
c62ff7039e
|
Minor fixes.
GitOrigin-RevId: f0ba3402adf4a26d8220d9b5545e9ea18f094e65
|
2019-04-22 03:46:51 +03:00 |
|
levlam
|
7f1bbb476a
|
Silence more expected warnings.
GitOrigin-RevId: 07f017ac8e659c7274c6ae97e0c8fa5191fe4c48
|
2019-04-22 03:13:55 +03:00 |
|
levlam
|
66b140e208
|
Better repairing of unreceived yet unsent messages.
GitOrigin-RevId: 2df44cc403a4304b0c9514a806e49c9547475cee
|
2019-04-22 03:01:40 +03:00 |
|
levlam
|
58f83f7eab
|
Improve logging.
GitOrigin-RevId: b891bd696ca74ecdced0f469e868f7b1776c560b
|
2019-04-22 02:00:30 +03:00 |
|
levlam
|
c420c82f83
|
Silence expected warning.
GitOrigin-RevId: 450c390d83f469bcf6a45111389c2fab196f8332
|
2019-04-22 01:51:53 +03:00 |
|
levlam
|
a26d827a38
|
Improve logging.
GitOrigin-RevId: 90530bd13523ad525d93d67e0634524c1459c8e9
|
2019-04-22 01:25:18 +03:00 |
|
levlam
|
b63d6124f0
|
Silence expected warning for bots.
GitOrigin-RevId: 685f85d18bd346088d6d22e207775e8f58e22a2a
|
2019-04-22 01:06:24 +03:00 |
|
levlam
|
31ad3ee86f
|
Better support for adding last message from channelDifferenceTooLong.
GitOrigin-RevId: defe315d4d6ea336d6f7929847cbccb501f00521
|
2019-04-22 00:52:53 +03:00 |
|
levlam
|
f3acbcda34
|
Silence warning about wrong reply_to_message_id on message ID overflow.
GitOrigin-RevId: fd641f59568fab2dce3b02215f6d21d803950982
|
2019-04-22 00:09:49 +03:00 |
|
levlam
|
e47f1d6947
|
Add ignore_background_updates option.
GitOrigin-RevId: cefa2fd658d1e0426bd319db2f033b0506e0f8de
|
2019-04-21 21:17:11 +03:00 |
|
levlam
|
651172ed85
|
Add is_dark parameter to getChatStatisticsUrl.
GitOrigin-RevId: f2381e8df342efa288fa191df27a79a799f972e2
|
2019-04-20 20:49:21 +03:00 |
|
levlam
|
d71f8e375e
|
Do not delete files of saved message if the original is still available.
GitOrigin-RevId: 3e0791f44ea1bf54eb9ef584d34ad6698914a2c5
|
2019-04-20 19:03:44 +03:00 |
|
levlam
|
74ca960636
|
Add MessagesManager::need_delete_message_files.
GitOrigin-RevId: a80f3af30813063872adb791820205a66990640a
|
2019-04-20 16:41:32 +03:00 |
|
levlam
|
510ddb175f
|
Improve logging.
GitOrigin-RevId: a350b0e192781bc13b7e4d91a95bf8d34d9b6777
|
2019-04-19 12:58:39 +03:00 |
|
levlam
|
896e44ac94
|
Add source to remove_notification.
GitOrigin-RevId: 217f967c61005275e5582ae0705b3b24fc8a73c2
|
2019-04-19 01:52:15 +03:00 |
|
levlam
|
d2e2aa7f7a
|
Force update when fixing pinned message notification.
GitOrigin-RevId: ab5b92020b0c5698259ff8d660a54708b383a1ee
|
2019-04-19 01:15:09 +03:00 |
|
levlam
|
849a4fbdb1
|
Fix fixing of is_dialog_pinned_message_notifications_disabled.
GitOrigin-RevId: 28993e5eead5c487b0e3c1efe1d69ba936561e1a
|
2019-04-19 01:03:33 +03:00 |
|
levlam
|
112c7c0168
|
Better repairing of unreceived sent messages.
GitOrigin-RevId: 219f58990fab3b076fcafef3d063693147892384
|
2019-04-18 18:33:36 +03:00 |
|
levlam
|
6b214aa72e
|
Do not recalc unread counts for bots.
GitOrigin-RevId: 953fe4ea9c6991e1a90f8dcd7adbeb5fc69b72d4
|
2019-04-18 18:12:18 +03:00 |
|
levlam
|
e9bb986d9c
|
Remove unneded UpdatesManager::get_state.
GitOrigin-RevId: d95a262233bd5959950eab8159a589a689d8a4b5
|
2019-04-18 17:57:57 +03:00 |
|
levlam
|
044a3a6f14
|
Improve error log messages.
GitOrigin-RevId: f43f89acaeb84898b076a3929eed08e927c1c392
|
2019-04-18 17:47:37 +03:00 |
|
levlam
|
6d298adf73
|
Protect from calling getChannelDifference continuously.
GitOrigin-RevId: cee3ac9a146d7f0ad65913cba437d64dc2f71bc9
|
2019-04-18 16:45:21 +03:00 |
|
levlam
|
dde79b4190
|
Silence warning for getChannelDifference in just created channel.
GitOrigin-RevId: d795b5e68473279733f564b4b1c85e6a3b335aaf
|
2019-04-18 16:31:46 +03:00 |
|
levlam
|
e6065438de
|
Send UpdateNotification for pinned message notification whenever pinned message changes.
GitOrigin-RevId: 5362e072cd6fef5579db4077a0d875178dc12e76
|
2019-04-18 04:18:57 +03:00 |
|
levlam
|
dc673f0eae
|
Fix is_outgoing flag in Saved Messages.
GitOrigin-RevId: 1439610dc7be18348f186c033c7a41a5386a2e5b
|
2019-04-17 04:12:30 +03:00 |
|
levlam
|
11f233a11e
|
Fix can_be_deleted_* flags for closed secret chats.
GitOrigin-RevId: f05b9228ccc4bc991057ec3e3d3af700c5518e60
|
2019-04-17 02:28:16 +03:00 |
|
levlam
|
c1eadfdc14
|
Fix log message.
GitOrigin-RevId: 8c255ed561ac1868eb1224238c6f40d9b7b69dac
|
2019-04-16 17:02:32 +03:00 |
|
levlam
|
79cc50ed41
|
Add chat.an_be_deleted_*.
GitOrigin-RevId: af1c5ff5c3cec46c25973dc644df777544906af5
|
2019-04-15 05:48:42 +03:00 |
|
levlam
|
aa96b03908
|
Improve td_api::messageForwardInfo class.
GitOrigin-RevId: 6dd56fce26f9b04d62e205e02708706baddcd155
|
2019-04-15 05:14:41 +03:00 |
|
levlam
|
0cb60722c2
|
Do not show forwarded messages with hidden sender as outgoing in Saved Messages.
GitOrigin-RevId: 4ecf43d8d9edcfc0ade7f122c835002725f21875
|
2019-04-15 03:52:36 +03:00 |
|
levlam
|
401ef61b0c
|
Add forwarded_from_* to messageForwardedFromHiddenUser.
GitOrigin-RevId: ad13e8f6f45a243196ebf66c282fbd56927ef1d9
|
2019-04-15 00:15:28 +03:00 |
|
levlam
|
a662c5b102
|
Fix deletion of files from edited messages.
GitOrigin-RevId: b19cf5878e8fd4857d4e7e4eb8913212f91043c2
|
2019-04-14 23:05:48 +03:00 |
|
levlam
|
08235274ed
|
Add more sanity checks for pinned message notification.
GitOrigin-RevId: adb6f444912dcad336df9fec6dab669e362c7ba2
|
2019-04-14 21:39:33 +03:00 |
|
levlam
|
bf95e2f051
|
Fix removing pinned message notification.
GitOrigin-RevId: d01a6d955944f5990c59fc5a1e565f7d9956bcb3
|
2019-04-14 04:11:00 +03:00 |
|
levlam
|
03945ea7b9
|
Do not log error about early received pinned message.
GitOrigin-RevId: f840bd03c6e90c6bc1796c5160ce695b35444543
|
2019-04-14 00:39:04 +03:00 |
|
levlam
|
2585f5efae
|
Allow to revoke call messages in private chats.
GitOrigin-RevId: 3ede20dcb6f01a9cb69977b7964a7093d2fb59a7
|
2019-04-13 22:47:51 +03:00 |
|
levlam
|
c2ed2836c0
|
Fix CE.
GitOrigin-RevId: 55e3d4160ecb48f39fefd03d825f7a6b25529ef3
|
2019-04-13 20:08:50 +03:00 |
|
levlam
|
a46a9a33dd
|
Do not create input_media for unfinished uploads.
GitOrigin-RevId: 8983548156fdf61795054dd7c01895348df4e009
|
2019-04-13 19:59:52 +03:00 |
|
levlam
|
fec4bfef2b
|
Add more logging for media albums.
GitOrigin-RevId: c7190ec3c28c1ce030dea91d3b29ccd21af6b1c3
|
2019-04-13 19:48:57 +03:00 |
|
levlam
|
b1a1635ce7
|
Fix adding too new messages.
GitOrigin-RevId: 3874c25b07674608d8a4cef61cd4801ce6a5f115
|
2019-04-13 16:50:06 +03:00 |
|
levlam
|
6e05b22a0f
|
Silence warning.
GitOrigin-RevId: f4180d156618988d9dabea1f088264c7ae633e1a
|
2019-04-12 16:20:18 +03:00 |
|
levlam
|
b2c4fa4be8
|
Move logging from WARNING to INFO.
GitOrigin-RevId: 69e355d62add494909f72af97f1032c11c7dff4f
|
2019-04-12 03:31:26 +03:00 |
|
levlam
|
af39698707
|
Add reply_markup to stopPoll.
GitOrigin-RevId: 08cf68d42ecc6c25cd8ec7146fb7e3b1856a7207
|
2019-04-12 02:10:33 +03:00 |
|
levlam
|
542c4d374d
|
Do not preload pinned message for bots.
GitOrigin-RevId: 5d260435a24af21394e133275d01f6e93c7adbeb
|
2019-04-12 01:03:27 +03:00 |
|
levlam
|
cb856f55a1
|
More consistent log out checks.
GitOrigin-RevId: df749bf0a8234d5ed537b1a7200d4a3ee037eb7d
|
2019-04-11 23:32:19 +03:00 |
|
levlam
|
88788b2460
|
Fix forcing updates in remove_notification_group after removal of temporary notifications.
GitOrigin-RevId: 93cc36bc85eb5f2ac5ec9e98a3766408f967544d
|
2019-04-10 23:54:03 +03:00 |
|
levlam
|
009c78ce5b
|
More cases for temporary notification removal.
GitOrigin-RevId: 0f617980b80f94cc415fbda922c7462ca4675045
|
2019-04-10 23:22:03 +03:00 |
|
levlam
|
59f36b3b3d
|
Add more debug.
GitOrigin-RevId: f435e1b8531f02092f218189853afc54c47e83b2
|
2019-04-10 16:37:06 +03:00 |
|
levlam
|
d6e7521aa1
|
Skip dialogs with unsynchronized group_id.
GitOrigin-RevId: 275014f1c68da71bec5fb63464857babdb90f101
|
2019-04-10 15:37:06 +03:00 |
|
levlam
|
3afcaa67f8
|
Add more being_added_message_id debug.
GitOrigin-RevId: 248551b7fb837863e363d548c450e547353facef
|
2019-04-10 15:22:34 +03:00 |
|
levlam
|
4859485768
|
Do not erase DeleteMessage log event while closing.
GitOrigin-RevId: 588eeb309964f489186c4614d0dca4c820aedf39
|
2019-04-10 13:42:46 +03:00 |
|
levlam
|
3ac5039912
|
Delete files from edited message.
GitOrigin-RevId: ac5a68b8f34296df1c918e8b1240eda86a6e4605
|
2019-04-10 00:13:47 +03:00 |
|
levlam
|
082ba9e020
|
Add document contents to pushMessageContent.
GitOrigin-RevId: 5baa4853f4e47d9f50f23ca74ebbed0369f17558
|
2019-04-09 23:39:41 +03:00 |
|
levlam
|
2ca710a26f
|
Better error message, when closing a closed poll.
GitOrigin-RevId: f43d49df5a2435c1cb1e5715feeb10d3e08c20a4
|
2019-04-09 11:03:14 +03:00 |
|
levlam
|
fb4475e83d
|
Move file_reference and notifications logging from WARNING to INFO.
GitOrigin-RevId: e03ee30dac7fbec2930a3cd1c625b43136d3739f
|
2019-04-08 19:15:39 +03:00 |
|
levlam
|
48a15fb0d3
|
Rename getPrivateMessageLink to getMessageLink.
GitOrigin-RevId: ae6ec6b2bf9eb5926395bc2e1298b231e42d26c1
|
2019-04-08 04:50:26 +03:00 |
|
levlam
|
de87ddb108
|
Fix deletion of temporary message pusn notification by MESSAGE_DELETED.
GitOrigin-RevId: aaa259568e10ddfa58f8f0499cca0ebc49eae5d3
|
2019-04-08 03:04:05 +03:00 |
|
levlam
|
2082c09757
|
Add td_api::getPrivateMessageLink.
GitOrigin-RevId: b621bbe7aeed8b3c0e33bfcc3beb51826dc34ea8
|
2019-04-08 02:42:16 +03:00 |
|
levlam
|
99a27126e5
|
Do not send GetDialogQuery while closing.
GitOrigin-RevId: c6517f13a881dc4a6bb31072ec0320e17823ef0e
|
2019-04-08 01:06:58 +03:00 |
|
levlam
|
2ca1bf12f9
|
Fix possible removal of log events when closing
GitOrigin-RevId: 0450de7025e471387055362d16917c5699e4b987
|
2019-04-08 00:50:13 +03:00 |
|
levlam
|
8c4494203c
|
Erase all files in private chats, when corresponding message is deleted.
GitOrigin-RevId: 74304b39138fa36f707dab1540fedcf6d6ad4d0e
|
2019-04-08 00:28:45 +03:00 |
|
levlam
|
9e2933337f
|
Support MESSAGE_DELETED push notification.
GitOrigin-RevId: f35ce15d7dd2df17486960181d9c54b238abc179
|
2019-04-07 18:48:09 +03:00 |
|
levlam
|
bbde601863
|
Add more debug.
GitOrigin-RevId: 1995ef700904e89e56ed6bbc68abc2dc4302775d
|
2019-04-06 01:54:31 +03:00 |
|
levlam
|
83dfa3ba0b
|
Do not send getHistory requests when closing.
GitOrigin-RevId: ea9e71fda1367ba639521e236a5dd57d0fbe2392
|
2019-04-06 01:04:30 +03:00 |
|
levlam
|
bcf65c901e
|
Add more being_added_message_id debug.
GitOrigin-RevId: 3040c562be8a826ec5183ea569d7f69aaca6fd40
|
2019-04-04 23:03:27 +03:00 |
|
levlam
|
0afbff7256
|
Do not try to get messages from server when closing.
GitOrigin-RevId: ff7a7f04b6c4a87205022bbd21b753a10a86d3b3
|
2019-04-04 16:51:01 +03:00 |
|
levlam
|
1f85174e5b
|
Return input_media debug.
GitOrigin-RevId: ef82844e9be32d34caf9cb725cda0f37c44be855
|
2019-04-03 20:57:53 +03:00 |
|
levlam
|
178e0b554c
|
Skip notification groups without chat info.
GitOrigin-RevId: b6927b3d422b1408e365308c0896119fcf75d483
|
2019-04-03 16:45:57 +03:00 |
|
levlam
|
277d3a788f
|
Protect from accidental message_id removal.
GitOrigin-RevId: 622745e79f396f0998a27a6a8b1a434c2a25c138
|
2019-04-03 15:32:05 +03:00 |
|
levlam
|
ad9ecdc3f0
|
Fix crash on failed to send photo in media group.
GitOrigin-RevId: fb390f0f5f4d963529283bc5b6418bfdf477a4f0
|
2019-04-03 03:12:19 +03:00 |
|
levlam
|
47bbdabe5a
|
Fix handling of duplicate notification identifiers.
GitOrigin-RevId: 54e8cee7d284fdb4579f4f92d50c6db902825e04
|
2019-04-03 02:47:35 +03:00 |
|
levlam
|
39b83ebe07
|
Add source to NotificationManager::add_notification.
GitOrigin-RevId: e832fbe7ba970f18524e9937add84e341d528b10
|
2019-04-03 02:02:18 +03:00 |
|
levlam
|
0171ae53ae
|
Fix call to set_dialog_is_empty.
GitOrigin-RevId: 88537853efdec536e052e580487f10481a7aa8de
|
2019-04-03 01:53:28 +03:00 |
|
levlam
|
b5802e435f
|
Send result to processPushNotification only after the updateNotificationGroup with the notification is sent.
GitOrigin-RevId: d7b814c0ae6ea0555444d9ec54a570e440889b67
|
2019-04-02 22:24:54 +03:00 |
|
levlam
|
1d4b1570ad
|
Allow to send games to broadcast channels (still doesn't allowed by server).
GitOrigin-RevId: cf9850b27ef5860b38f97934aebf655b5ed013f6
|
2019-04-02 01:47:02 +03:00 |
|
levlam
|
ed4b5ddbc8
|
Do not show again push message notifications, removed by remove_notification_group.
GitOrigin-RevId: 0037e3e3bbf9879defb1dd3eba7ae3b3fe79703f
|
2019-04-02 01:05:31 +03:00 |
|
levlam
|
ca67a2754c
|
Clean unread count and some other fields in an empty chat.
GitOrigin-RevId: 65355c3af58342dbdacfe396301769937778bd6b
|
2019-04-01 23:56:55 +03:00 |
|
levlam
|
b548f222dc
|
Return error 406 if notification is not supported from processPushNotification.
GitOrigin-RevId: 6913bdc376e4af14848ed0f403f6807ae7a84b8f
|
2019-04-01 22:51:39 +03:00 |
|
levlam
|
606b427673
|
Invalidate cache of getGroupsInCommon when count is changed or in 1 hour.
GitOrigin-RevId: e57edb01d3fe3a21e208e8247ca666284a755bcb
|
2019-04-01 22:38:17 +03:00 |
|
levlam
|
71d80f73bf
|
Improve documentation.
GitOrigin-RevId: 103083710620ccbc93ca240acd1a75b780dff612
|
2019-04-01 20:34:25 +03:00 |
|
levlam
|
bbd394ec91
|
Rarely force update in remove_message_notification_id.
GitOrigin-RevId: 89bb0ebdc0a650d7b23c19810445fe745f5780cd
|
2019-04-01 03:10:05 +03:00 |
|
levlam
|
96e7bba14a
|
Do not keep more tha 1 pinned message notification.
GitOrigin-RevId: 8b0b8c56583dca6f84527ec957db08cc84cdc1e1
|
2019-04-01 03:02:19 +03:00 |
|
levlam
|
8a597f77e4
|
Make max_notification_message_id persistent.
GitOrigin-RevId: 0d19845430bd9fe303d0a7e2a830499139a77b7f
|
2019-03-31 18:43:43 +03:00 |
|
levlam
|
5d180c55de
|
Do not repeat notification with sound for already received through push notifications messages.
GitOrigin-RevId: 7527122f71b1b24683d283e3da894571c9b78356
|
2019-03-31 18:33:01 +03:00 |
|
levlam
|
c93cfe5df6
|
Allow to reply yet unreceived server messages.
GitOrigin-RevId: 0796acda7ab15c8f2a37404daabf42b6d634768a
|
2019-03-31 06:11:35 +03:00 |
|
levlam
|
f08382e36e
|
Remove from binlog outdated temporary push notifications.
GitOrigin-RevId: 7ae29e312bbbe71c406d6c27576ad45537f33ea6
|
2019-03-31 06:00:40 +03:00 |
|
levlam
|
ae8310907a
|
Support reading history from push notifications.
GitOrigin-RevId: 6f901b7927e272b345d25d3ba4b54e0dec5074cf
|
2019-03-31 00:30:07 +03:00 |
|
levlam
|
508889fadf
|
Store sender_user_id in message push notification.
GitOrigin-RevId: e6dbf304266c63a92e5949a1ee48444f8c0e958f
|
2019-03-30 17:59:35 +03:00 |
|
levlam
|
29d745c87e
|
Push notifications handling fixes.
GitOrigin-RevId: da34e59128b23a7cedcfc8c7a7f64a4c9b5066fe
|
2019-03-29 17:04:42 +03:00 |
|
levlam
|
aa9781bd71
|
Output exact reason when push notification is ignored.
GitOrigin-RevId: 5d1f99af1e767f79d4a66329c9ffb812e7c9e6cb
|
2019-03-29 15:26:08 +03:00 |
|
levlam
|
8c8fd71029
|
Add td_api::messageForwardedFromHiddenUser.
GitOrigin-RevId: 1b3c79ad6bbfcee18d8138580ebc15bf12ad2185
|
2019-03-29 04:43:01 +03:00 |
|
levlam
|
2facb494d3
|
Add new notification type for push notifications.
GitOrigin-RevId: 47c4527806cab7a43bf4375dc2a2aeeab02fc7c1
|
2019-03-29 00:08:57 +03:00 |
|
levlam
|
1c47a8aa78
|
Update layer 91. Add revoke to deleteChatHistory.
GitOrigin-RevId: a6190c72e82994f21669684b2af227d2cfbed794
|
2019-03-27 23:17:41 +03:00 |
|
levlam
|
2e2a693284
|
Change default values of message revoking parameters.
GitOrigin-RevId: d349aa177d24fc7227a9d5b966a2e578cc9ebe42
|
2019-03-27 22:03:47 +03:00 |
|
levlam
|
ad2690b2a6
|
Better force_update in remove_dialog_mention_notifications.
GitOrigin-RevId: bf18d62c801ff705ba93ea6d56ee69f7b186f30c
|
2019-03-27 03:10:24 +03:00 |
|
levlam
|
5d00a38046
|
Do not delay notification removal updates requested by the user.
GitOrigin-RevId: 7ca24f9da47239c9596e0bec1143b15ae8327bac
|
2019-03-27 01:07:32 +03:00 |
|
levlam
|
29e7c2b690
|
Add need_message_push_notification.
GitOrigin-RevId: 05ea09c326cc779b3eb57e574f6bdb8771bbb239
|
2019-03-26 18:05:53 +03:00 |
|
levlam
|
6cebe30382
|
Find entities in MESSAGE_ANNOUNCEMENT.
GitOrigin-RevId: 3ca4500dea9ba0f3561470416db21bc1cc42616a
|
2019-03-26 01:24:23 +03:00 |
|
levlam
|
6235ec62b0
|
Add MESSAGE_ANNOUNCEMENT support.
GitOrigin-RevId: 754a484735c1a7366796181b715d0e79f91a77c1
|
2019-03-25 17:35:37 +03:00 |
|
levlam
|
ffd9f89326
|
Completely disable notification about registered contact by the corresponding option.
GitOrigin-RevId: 7f3b9f6c6cb997637c969d1450640161058099db
|
2019-03-20 06:02:19 +03:00 |
|
levlam
|
f8162c04e2
|
Add more debug.
GitOrigin-RevId: e1c7ee0a8487cfaac2d68557500acb8ee4d2c101
|
2019-03-19 16:13:17 +03:00 |
|
levlam
|
523c5a073b
|
Add more debug logging.
GitOrigin-RevId: 7bb9dbcb89adbef816f41fbcf9f20e9bd0a7d48b
|
2019-03-19 02:33:53 +03:00 |
|
levlam
|
e3c7684c13
|
Add input_media != nullptr debug.
GitOrigin-RevId: 59c8746a65112aa8d3fb085bf3720fd90bd0eb5e
|
2019-03-18 23:02:39 +03:00 |
|
levlam
|
62edae7df9
|
Fix removing new secret chat notification id.
GitOrigin-RevId: 9776544a20ccdb888e6d42497de99f38697a54a7
|
2019-03-18 22:51:24 +03:00 |
|
levlam
|
ad6ee1ed94
|
Crash if someone tries to create a request handlet while closing.
GitOrigin-RevId: 95f188a0d4acf58e5c72d9ea3abc3145cf82026d
|
2019-03-18 01:51:43 +03:00 |
|
levlam
|
f9a0b34cb2
|
Disallow to report support accounts.
GitOrigin-RevId: 40657f51e7b4ca90e930b406d4903e132865babd
|
2019-03-17 18:09:28 +03:00 |
|
levlam
|
8fc712470e
|
Add more notifications loading debug.
GitOrigin-RevId: 70c9f7859ddc5f232fba9302d20fc5426365accc
|
2019-03-17 17:45:37 +03:00 |
|
levlam
|
625359f18f
|
Try repair failed to reuse notification group id.
GitOrigin-RevId: e7d5681c35f0f3838612c8f1ba0f2728d0f7b492
|
2019-03-17 00:35:00 +03:00 |
|
levlam
|
84878f9750
|
Add force to get_input_media.
GitOrigin-RevId: 4477e6cb08505aef269b5110e8ef4bbff04d0bd3
|
2019-03-17 00:07:10 +03:00 |
|
levlam
|
e24278903b
|
Add check debug logging.
GitOrigin-RevId: 80365becdd9b3d51367a569334e624511f05cce2
|
2019-03-16 23:52:49 +03:00 |
|