Commit Graph

782 Commits

Author SHA1 Message Date
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
levlam
74ea0750a1 Remove some pending notifications when messages was read.
GitOrigin-RevId: 75446642bb9ac7d5473271da0ec9aed6a224cbdd
2019-03-16 18:52:15 +03:00
levlam
845946be45 Add FlushPendingNewMessageNotificationsSleepActor debug.
GitOrigin-RevId: 5cca0228696b76cc2be4a0b036f95ade70bcba17
2019-03-16 17:27:12 +03:00
levlam
c6f96c617b Improve debug logging.
GitOrigin-RevId: 08507bf19e76bf2cd1d4692c6d4941a042624ec7
2019-03-16 16:24:39 +03:00
levlam
2cd0a80e18 Fix removing last notification in remove_message_notifications.
GitOrigin-RevId: 9b3618fcbd3b780b24f76b3c7904bd5bc192dd8e
2019-03-16 15:58:05 +03:00
levlam
a165305968 Set local online on some message history reads.
GitOrigin-RevId: 140ed8921bb53c6aabbe5acfe25147854b2f9b53
2019-03-15 22:09:42 +03:00
levlam
d6c5dda880 Fix spelling of inaccessible.
GitOrigin-RevId: d28c4c60c365cd453ec89d34519b75abaed169b5
2019-03-15 03:19:10 +03:00
levlam
0c89d34007 Use correct update date for typings; ignore too old typings.
GitOrigin-RevId: a1dc65a74bfbc8519591b0ca6739cf04ad58b2bc
2019-03-15 03:16:44 +03:00
levlam
3e0fb81e09 Bring users online locally after typing or sending/editing a message.
GitOrigin-RevId: 2bc4e0c29083f1dca6277498118f1dd6932ccda3
2019-03-15 02:29:36 +03:00
levlam
28fde94d49 Support updateChatOnlineMemberCount in getCurrentState.
GitOrigin-RevId: f529c293fd92d188eaca5daef33d25d7ef7a13aa
2019-03-14 22:59:07 +03:00
levlam
b29b0fa6cc Trying to fix load_dialog_list_limit_max_.
GitOrigin-RevId: 7943a8e63d46534fa8ef7760403dfdebcf7c0adb
2019-03-14 22:50:02 +03:00
levlam
e7425d3fce Possibly fix pinned message preloading.
GitOrigin-RevId: fff9d032e3674b2f7e6a2da06e3ae9bc8e8180ea
2019-03-14 22:34:36 +03:00
levlam
1a16f0ea9f Add source to MessagesManager::have_message.
GitOrigin-RevId: 0354e12de9ca1316541b084a91b1810522ca44bd
2019-03-14 22:31:37 +03:00
levlam
26ba56ffca Fix removing new secret chat notification.
GitOrigin-RevId: 8be89f32889e6622e41232b206613a39a4f25080
2019-03-14 22:17:30 +03:00
levlam
8bc3ff622f Support for unknown forward headers.
GitOrigin-RevId: 4073ce4d467e0e1bec90dcb6e4c7ec503e069e9d
2019-03-14 22:00:31 +03:00
levlam
6390bc9e0f Add notifications debug.
GitOrigin-RevId: 4636723c713426f98ead095e7e14f097818c0155
2019-03-13 19:11:00 +03:00
levlam
706144361d Fix updating chat online member count.
GitOrigin-RevId: 9b528ba5ea6524be13baddecabb692c96067caba
2019-03-13 17:18:40 +03:00
levlam
692f9fcf1a UpdateChatOnlineMemberCount fixes.
GitOrigin-RevId: ba2ab62da3e665e8e48427bd7607e423aa18e32f
2019-03-12 23:46:43 +03:00
levlam
e77a6d8397 Repair online member count in small supergroups by getting they member list.
GitOrigin-RevId: bf52347560b19668c302767498b63b55800f3779
2019-03-12 22:05:33 +03:00
levlam
9ff02e7435 Speculatively change cached supergroup member list.
GitOrigin-RevId: 7d908f39f10b8480310960c54ec2610febd0b018
2019-03-12 17:52:10 +03:00
levlam
a893653ba6 Pass list of members in speculative_*channel_participant.
GitOrigin-RevId: 765ef5abbb2a2c139810dda32aa1e2c1fe5e4009
2019-03-12 16:20:53 +03:00
levlam
1d369e1dca Fix upload priority fot thumbnails and profile photos.
GitOrigin-RevId: 12698756069a92707369a0efef1cd46f9e280758
2019-03-12 10:38:05 +03:00
levlam
2a8b6abebc Fix call to get_channel_difference.
GitOrigin-RevId: ff64cd9b89385ed05b67916b4804554e5e299c9b
2019-03-11 17:44:37 +03:00
levlam
3d288d8e9b Possibly fix recursive calls to add_message_to_dialog.
GitOrigin-RevId: c9ec21278582bc91beb6e2815f16b2f89673f587
2019-03-11 17:40:19 +03:00
levlam
1046d02628 Add source to get_message_force.
GitOrigin-RevId: 889869e4ddee259c1acf1f4ddd40bbeeb06a5aa3
2019-03-11 16:06:21 +03:00
levlam
84060b6084 Regiater only server polls.
GitOrigin-RevId: e6ff1c4d7916a8ce07e45ae95a0458330c4ebcf0
2019-03-11 15:27:28 +03:00
levlam
6da8565b7b Add CHECK debug.
GitOrigin-RevId: c967e0cd0270200c9202afbc98ec8270664a9211
2019-03-11 15:15:57 +03:00
levlam
c4d114a70c Fix chat list perloading in get_dialog_notification_settings_exceptions.
GitOrigin-RevId: b4dcf2a1ab0a021acbe976d821668cbdc6bdccbd
2019-03-11 15:09:55 +03:00
levlam
2354a05602 Fix preloading of a previously pinned message.
GitOrigin-RevId: 2dd22b8522d94d443f8e97b54a3c2baf9d6eea63
2019-03-09 18:27:02 +03:00
levlam
8fcb64e579 Compare local settings in getChatNotificationSettingsExceptions.
GitOrigin-RevId: e0ad2683e85f1a2d74206da01dfc9e60248e611d
2019-03-05 17:15:17 +03:00
levlam
b9d73b5c47 More start_up and bots fixes.
GitOrigin-RevId: 1f72829332cea0b863cb7813b490782f0ed39db3
2019-03-05 07:35:17 +03:00
levlam
285b590058 Disable online member count calculation for bots.
GitOrigin-RevId: a53e92a44fab9375c9af318c08d119d398e2e0a6
2019-03-05 07:00:18 +03:00
levlam
063e8872df Fix notification usage for bots.
GitOrigin-RevId: 4645b1c91e5bb1e6a7ef5429efe690c52a8ee257
2019-03-05 06:01:49 +03:00
levlam
d038c6b5c4 Update Chat online member count on any participants change.
GitOrigin-RevId: 6049a003d73e86d2bb30b9364a07aa3050be3a7f
2019-03-05 05:18:31 +03:00
levlam
03de2b47e8 Send updateChatOnlineMemberCount with 0 after chat is closed.
GitOrigin-RevId: cb5c91783cc235b340f8274cfb76ffe0b68e474a
2019-03-02 22:18:40 +03:00
levlam
f8cc501d7a Increase message unload delay for bots.
GitOrigin-RevId: ef1de21396a719670cc67f3f90c56fafa5cb4d9e
2019-03-01 04:04:02 +03:00
levlam
a7a3d3c135 Fix creating postponed getMessage requests for pinned message.
GitOrigin-RevId: 8f5136516ef01962e52d72c14bc4f6bb58e8de75
2019-02-27 02:54:15 +03:00
levlam
bb5ffc0c8c Channel statistics support.
GitOrigin-RevId: 39d17de81087c9789b6c717cf1ed5f01edc6360b
2019-02-26 23:37:59 +03:00