Commit Graph

1650 Commits

Author SHA1 Message Date
levlam
e5da6a5017 Improve updateHavePendingNotifications.
GitOrigin-RevId: b4f3701ca9e75a05367d945f1693f742d7f27eb6
2019-03-31 17:13:29 +03:00
levlam
44fcdf69e4 Remove temporary notifications after getDifference.
GitOrigin-RevId: 528ea2d98d9cf57254a5c492dc185d00c4f4bc84
2019-03-31 06:38:47 +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
28351e8529 MAke push notifications persistent.
GitOrigin-RevId: 3cb231596e1f75a8157db48880e48f542c0b811d
2019-03-31 04:30:25 +03:00
levlam
8157f7e9ae Simplify process_message_push_notification.
GitOrigin-RevId: fe47e80dfaa1af38969bdf0c1532a083a7fd3d60
2019-03-31 01:02:13 +03:00
levlam
b8ca259418 Force removal of group first wnen update is forced.
GitOrigin-RevId: 3f4f9027d705c23bf3494acfa0941eba5cfc2676
2019-03-31 00:45:25 +03:00
levlam
bad2ee02a0 Add NotificationManager::force_flush_pending_updates,
GitOrigin-RevId: 4908bb2300613d8231b35093fbcfe87fe4d4b434
2019-03-31 00:38:18 +03:00
levlam
ae8310907a Support reading history from push notifications.
GitOrigin-RevId: 6f901b7927e272b345d25d3ba4b54e0dec5074cf
2019-03-31 00:30:07 +03:00
levlam
17dfff9297 Remove temporary notifications on notification group removal.
GitOrigin-RevId: ac06a2c1181508e833cfb129892cb45b1b70e6eb
2019-03-30 23:52:54 +03:00
levlam
e28d0eb3c0 Add td_api::notificationTypeNewPushMessage.
GitOrigin-RevId: 4708329ff77a23c82d7786d83f4e4c936c3dbee2
2019-03-30 23:49:14 +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
521227a2f6 Minor fixes.
GitOrigin-RevId: 8fdf69db2ee8131aad5a40f5755fc7761f97a633
2019-03-29 14:32:50 +03:00
levlam
715783e5bd Do not hide poll results from bots.
GitOrigin-RevId: 7e44074e372c6487fb0ab0bd53bba64585b5ad07
2019-03-29 06:00:03 +03:00
levlam
e51029112c Better variable name.
GitOrigin-RevId: 05585184131d2628b8099414196ca71bf3b03f15
2019-03-29 05:30:14 +03:00
levlam
93d5cc1a45 Add updatePoll for bots.
GitOrigin-RevId: b655c57e6643cef05654f3b73467a50c6bd0ac5d
2019-03-29 05:16:28 +03:00
levlam
8c8fd71029 Add td_api::messageForwardedFromHiddenUser.
GitOrigin-RevId: 1b3c79ad6bbfcee18d8138580ebc15bf12ad2185
2019-03-29 04:43:01 +03:00
levlam
84a513fe61 Add id to td_api::poll.
GitOrigin-RevId: ec6734822c930048bf6c742668a89072428cc127
2019-03-29 03:38:12 +03:00
levlam
2facb494d3 Add new notification type for push notifications.
GitOrigin-RevId: 47c4527806cab7a43bf4375dc2a2aeeab02fc7c1
2019-03-29 00:08:57 +03:00
levlam
dc55024596 Fix zero download limit.
GitOrigin-RevId: 5185e61a5e748816953592cdb843af698f902b17
2019-03-27 23:54:34 +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
3fe5103651 Add release barrier before trying to use FileLog.
GitOrigin-RevId: 9fa0a30924c0cb09d4e4ffbcbb4bcdeb1e0ffa91
2019-03-27 21:48:21 +03:00
levlam
db66ddf0be Add possibility to download files synchronously.
GitOrigin-RevId: 2b633fcc06a8d8770a6fb31a0d0bd9dac971df9e
2019-03-27 21:43:46 +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
1e1b24dfb3 Ignore duplicate announcements.
GitOrigin-RevId: e09927a5dbae88001a6674e5155d1cffdb57e810
2019-03-26 22:32:07 +03:00
levlam
7fe4ebfc24 Fix calling td_api::processPushNotification before authentication.
GitOrigin-RevId: f19936055c350dba826f631c42255647cbb7f4a2
2019-03-26 22:02:48 +03:00
levlam
29e7c2b690 Add need_message_push_notification.
GitOrigin-RevId: 05ea09c326cc779b3eb57e574f6bdb8771bbb239
2019-03-26 18:05:53 +03:00
levlam
6888403d61 Do not delay notifications about local messages.
GitOrigin-RevId: 87a4807010a6bf662b312a94aee2ac31b481ff9e
2019-03-26 16:39:15 +03:00
levlam
498765fa8d Remove unused buffer log tag.
GitOrigin-RevId: 0e0e831c2c555388d72dbe0554cd6185f56d78a6
2019-03-26 16:24:29 +03:00
levlam
ac5a716ffe Add push content basic checks.
GitOrigin-RevId: f6c436f578b5eac8799bb5f84ac2545c490814b3
2019-03-26 16:23:24 +03:00
levlam
89e5b00a95 More push notification parsing.
GitOrigin-RevId: df7da02f718aab0c9158d77f73744808f7597396
2019-03-26 03:57:38 +03:00
levlam
8a5d186e34 Remove processDcUpdate in favor of processPushNotification.
GitOrigin-RevId: 7cc785061bd6915cdbf16be4f000992b9e720de0
2019-03-26 03:29:09 +03:00
levlam
6cebe30382 Find entities in MESSAGE_ANNOUNCEMENT.
GitOrigin-RevId: 3ca4500dea9ba0f3561470416db21bc1cc42616a
2019-03-26 01:24:23 +03:00
levlam
54aaea0e13 Fix constant type.
GitOrigin-RevId: 43068e874c4b0639657716acc20a4b444c2c4e73
2019-03-25 20:40:28 +03:00
levlam
fd7c17ae43 Always send updateActiveNotifications.
GitOrigin-RevId: e5dfab0f5b75132fb85177938807d137284c7dce
2019-03-25 19:41:47 +03:00
levlam
27f6634c50 Fix total_count when receive full member list.
GitOrigin-RevId: 65d757a8489d5f5207e43d267b7177cc97c95950
2019-03-25 19:18:04 +03:00
levlam
97d3485753 Support reading message history from pushes.
GitOrigin-RevId: 280eff17eec93b688eff6d5d3bad388670820728
2019-03-25 19:01:33 +03:00
levlam
6235ec62b0 Add MESSAGE_ANNOUNCEMENT support.
GitOrigin-RevId: 754a484735c1a7366796181b715d0e79f91a77c1
2019-03-25 17:35:37 +03:00
levlam
5a4baecf1e Add DC_UPDATE push processing.
GitOrigin-RevId: f45e00f221744eb3c4b5d2bc70adad78b7fb6554
2019-03-25 06:51:15 +03:00
levlam
0f8b5f89dc Basic push notifications parsing.
GitOrigin-RevId: 1e7e955551831d1438826d1e5a860c24a6432f23
2019-03-25 06:35:01 +03:00
Arseny Smirnov
c427880154 decrypt_push_payload: bugfix
GitOrigin-RevId: 20b8152e77a881937edd1914521408c8aad506fe
2019-03-25 21:08:48 +13:00
levlam
8f771b8666 Fix ERROR logging.
GitOrigin-RevId: 39570dcd2c009b64e08f3c9193bddc2d8dfe656e
2019-03-25 02:29:33 +03:00
levlam
0db8f14014 Ignore empty push payload.
GitOrigin-RevId: 6054ae0a7d7ae42bc14711efcc77d44fe2018a8d
2019-03-25 01:07:35 +03:00
levlam
db927675bc Fix misprints.
GitOrigin-RevId: 74637920537fd9a03a79e8cf783e51a1b910551c
2019-03-24 22:05:06 +03:00
levlam
7776513651 Ignore .nomedia file in statisitcs and flle gc.
GitOrigin-RevId: 2b1ab488b4686563d4d7368261c784c8cd7ad691
2019-03-24 21:36:21 +03:00
levlam
0bd7881fb7 Minor Client fixes.
GitOrigin-RevId: 039c9affda4f3b70eacb545c05b99cfd6523c5e1
2019-03-22 01:42:41 +03:00