Commit Graph

1029 Commits

Author SHA1 Message Date
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