Commit Graph

2272 Commits

Author SHA1 Message Date
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
e828ebc6d7 Better fatal error messages when writing FileLog fails.
GitOrigin-RevId: 61318558a665dd925cd10dd8f39eba20dd44eb87
2019-03-26 01:48:50 +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
afa4871028 Allow String as a Number in get_json_object_int_field.
GitOrigin-RevId: f7c17eb1f6f8caa3d078d4eafe2de3b58e34002f
2019-03-25 18:09:46 +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
fdb870da4d Add test for NotificationManager::decrypt_push.
GitOrigin-RevId: bdc8c815ad7804c8726cee669d1e781efa796e0d
2019-03-25 03:12:06 +03:00
levlam
8f771b8666 Fix ERROR logging.
GitOrigin-RevId: 39570dcd2c009b64e08f3c9193bddc2d8dfe656e
2019-03-25 02:29:33 +03:00
levlam
1c78b6994a Better documentation for type constructors.
GitOrigin-RevId: e41a742ced36e42205190572501c4f02b075bbba
2019-03-25 02:07:31 +03:00
levlam
c2991967ca Improve functions documentation.
GitOrigin-RevId: 18a1f1f5026c5f556b64f691aff3db61fc9f3896
2019-03-25 02:01:14 +03:00
levlam
bdfabde80a Documentation: add getFunctionReturnTypeDescription virtual method.
GitOrigin-RevId: 1e17abb58e340ef03528eb17643f9d09bb388747
2019-03-25 01:18:25 +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
d494a3e13f Return stdin to blocking state when closing.
GitOrigin-RevId: db4f43a526b099f07dbc5c1c717cc4e67aad5ee7
2019-03-22 01:59:16 +03:00
levlam
59b98c5b50 Include unistd.h in OptionsParser.
GitOrigin-RevId: 9e8ed25f239ce898523f02454b40219024157555
2019-03-22 01:56:24 +03:00
levlam
0bd7881fb7 Minor Client fixes.
GitOrigin-RevId: 039c9affda4f3b70eacb545c05b99cfd6523c5e1
2019-03-22 01:42:41 +03:00
Arseny Smirnov
18900e9d69 Client: share scheduler between different clients
GitOrigin-RevId: 6bddeaf1938a1bb35dc9a7670c10b044419089fe
2019-03-21 22:59:20 +13:00
Arseny Smirnov
75f323e2f6 tdweb: bugfix
GitOrigin-RevId: ed7c94b8fea115b62776c3d3f44fe7f323961a66
2019-03-21 22:58:52 +13: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
c09d5dfbc2 Add logging for a CHECK.
GitOrigin-RevId: dadde241811ab890935ba24c7b3af937393d1185
2019-03-20 05:57:36 +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
8cbbe017bd Fix registering file sources in FileStatsWorker.
GitOrigin-RevId: 0a971c9248d5d4fa9106d7ef4751d2431a50c80e
2019-03-18 00:40:10 +03:00
levlam
b5407cd6bc Minor fixes.
GitOrigin-RevId: 39fb006dd5d935f6dd0b400114d71391463450eb
2019-03-17 23:43:58 +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
Arseny Smirnov
caccb7a9e1 minor fix
GitOrigin-RevId: 6e1b3a3cebcea9311898e3a87da2d7a90b0d0305
2019-03-17 23:29:32 +13: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
e17768bcc3 Fix applying poll answer.
GitOrigin-RevId: 1100874484111cf65f05f7254a131ab70fc3eecc
2019-03-16 23:48:00 +03:00
levlam
3268cbdd8a Prefer URL or generate location over local location when storing a file, because local location could be invalidated any time soon.
GitOrigin-RevId: 1782db65a8fc5cfd90f51f755be56b9b6f8d513f
2019-03-16 23:25:11 +03:00
levlam
399d13040d Better streaming gffset debug.
GitOrigin-RevId: bb0f5beea36151840685c8c0e33e6ff553e0d9e5
2019-03-16 23:13:18 +03:00
Arseny Smirnov
bc3e312a1c bugfix
GitOrigin-RevId: 685e9ffa641803684f9fc98b80508adf9ded2895
2019-03-17 08:50:17 +13: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