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 |
|
levlam
|
52a250456a
|
Fix secret chat notification settings init.
GitOrigin-RevId: 3e8891b287bdda1ea9e39400e44d9f477ba8dc58
|
2019-03-16 21:51:00 +03:00 |
|
levlam
|
6c1173d611
|
Add channel messages debug.
GitOrigin-RevId: 168f724d92d3ea48295216be6ce029439917b99c
|
2019-03-16 21:30:03 +03:00 |
|