Commit Graph

46 Commits

Author SHA1 Message Date
levlam
3305547ca1 Ignore duplicate registerDevice requests. 2021-12-22 14:38:49 +03:00
levlam
db7aa28bdf A lot more minor improvements. 2021-10-19 18:11:16 +03:00
levlam
d6f3d9f08a Use error code 400 instead of small error codes. 2021-09-24 10:59:51 +03:00
levlam
41c391f140 Update layer to 133. 2021-09-03 12:27:59 +03:00
levlam
61664b4044 Move remaining MTProto classes to namespace mtproto. 2021-07-05 21:04:23 +03:00
levlam
1d3e72aa9d Improve constant names. 2021-07-05 19:17:26 +03:00
levlam
a6a4eb6616 Don't include SliceBuilder.h in logging.h. 2021-05-17 15:21:11 +03:00
levlam
4f644ce389 Add and use statis UserId::get_user_ids/get_input_user_ids methods. 2021-03-29 00:50:15 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam
bcc8dbc158 Use Global::is_expected_error whenever appropriate.
GitOrigin-RevId: aba8ee6e3dc1ab6e680a5ae10f6c3d217ab0a8dc
2020-03-31 00:35:58 +03:00
levlam
b8848a2ab4 Simplify NetQuery creation.
GitOrigin-RevId: a01e72f8e196b405dd28dfd75d16cadc7127ec4a
2020-03-16 00:17:11 +03:00
levlam
713608ada1 Safe and reliable device token re-registration.
GitOrigin-RevId: 25273051c41ced913d1762a42cc0e19d36149a27
2020-01-01 19:38:54 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
b16caabe8e Add device token debug.
GitOrigin-RevId: 451f00d33959eddbd73381775df19338945898d9
2019-12-30 04:34:59 +03:00
levlam
29c4e4c733 Update layer to 103. Disable push notifications from muted chats.
GitOrigin-RevId: 5287f30dd82a50c567bcf039eee479e790868f7d
2019-10-22 16:24:55 +03:00
levlam
22c88fab89 Reregister device after terminate all sessions.
GitOrigin-RevId: 131a94d04370ccd3ed96ec8f5945ff07df4a67fd
2019-11-17 22:43:10 +03:00
levlam
5bd752da0d Do not log error when closing.
GitOrigin-RevId: 58c6f5a4c0c2bce4f7c9d97992e0a56e45cc0306
2019-08-31 02:52:56 +03:00
levlam
e18bce69a1 Register device after every restart.
GitOrigin-RevId: 2eed6eafb1f38a636603b16d400cc4f7505f8a0a
2019-08-29 03:40:18 +03:00
levlam
108dc0d4f8 Remove END_PARSE_FLAGS_GENERIC.
GitOrigin-RevId: c9a47a56158829aca0572bab1497e3aebcc7216d
2019-08-01 03:40:28 +03:00
levlam
58aafd9b39 Remove restriction on number of other_user_ids in registerDevice.
GitOrigin-RevId: b9a2a51c48d03d1b8cbfa26cf8c4ba0da5cf0e15
2019-04-23 17:10:49 +03:00
levlam
e01d26eb2b Rename Google Cloud Messageing to Firebase Cloud Messaging.
GitOrigin-RevId: 56219b2225b6807f517afbc33f866f9b0c7e91c7
2019-04-18 02:23:02 +03:00
levlam
7d28b73f5e Move DhHandshake to DhHandshake.{cpp,h}.
GitOrigin-RevId: b34d9ae18e2106d3843223bc8609f5a89b6568f6
2019-01-31 14:26:06 +03:00
levlam
7542612098 Fix some includes.
GitOrigin-RevId: 47d6bcd57e12314cc46c8f23ef10c10cea04fdcb
2019-01-31 05:05:40 +03:00
levlam
d4997705e5 Minor fixes.
GitOrigin-RevId: ce3af62ed57a0d205e6270a950fa0a243afea118
2019-01-31 03:20:27 +03:00
Arseny Smirnov
b481ce8465 NotificationManager: decrypt_push
GitOrigin-RevId: 9f623bf065d54f402ca824d40e0515111330b7a7
2019-01-29 19:16:52 +04:00
levlam
5438119bb4 Fix Global.h and TdDb.h includes.
GitOrigin-RevId: 89fa1ee3e8071ad3f27687f79d1a52de113f9705
2019-01-06 22:59:17 +03:00
levlam
eaebfad034 Update copyright year.
GitOrigin-RevId: 359e2b43322222922c44c430d3814b0a4c778dc6
2019-01-01 01:02:34 +03:00
levlam
04fbc9ff48 Add pushReceiverId.
GitOrigin-RevId: 6beb6930eb456d94af50ed9455ee15df8ed36e20
2018-12-29 01:48:32 +03:00
levlam
bbcad65737 Support subscribing for encrypted push notifications.
GitOrigin-RevId: ff0bc71f137cc0d77df4297ef22e8a885864f27b
2018-12-24 18:33:39 +03:00
levlam
a1d6be72ff Better fix for END_PARSE_FLAGS.
GitOrigin-RevId: 8838c020bb677df926fce87c0e2343600089345d
2018-04-16 18:02:42 +03:00
levlam
166bd07fd9 Add more checks for Passport field values. Allow empty expiry_date.
GitOrigin-RevId: f3119c59c0ba85dbfe4ac1371bfd20fcbaab2ab6
2018-04-16 17:30:37 +03:00
levlam
a7548d234c Minor fixes.
GitOrigin-RevId: 9ccb8914fb517b2c3fdba7b40b3bb7ac104e8da7
2018-04-12 00:18:03 +03:00
levlam
0bfe50a7b7 Strong typing for passport data.
GitOrigin-RevId: 766b671c97d8deb1e32bbfb4972c5a59a67f8435
2018-04-11 17:21:24 +03:00
Arseny Smirnov
dd4b3ba12e minor fix
GitOrigin-RevId: 37b57ab97fb6b5437d53a83527321e3e4f8f1cf5
2018-04-11 13:50:34 +03:00
Arseny Smirnov
293b706c74 json_object draft
GitOrigin-RevId: 571b710cc58c0271c0f78a9e1a1263b6858730f3
2018-04-11 13:49:04 +03:00
levlam
41bd7c7428 Various fixes.
GitOrigin-RevId: e96c9e6f8f159f91ec31288e36edfb5869603341
2018-03-06 19:27:52 +03:00
levlam
d64280c890 Update layer #76.
GitOrigin-RevId: d865abc2c8fb9b3b1350fcd689ef086de38aab3e
2018-03-04 00:33:26 +03:00
levlam
186bffc0b5 Fix BlackBerry spelling. Improve documentation.
GitOrigin-RevId: affe187a17c23125773567c8eab6655c11ec0fb4
2018-02-17 15:32:14 +03:00
levlam
62bb714421 Fix some includes and spelling.
GitOrigin-RevId: 489a75315987be488d8caf63a9d3c4f0948ab810
2018-01-28 21:13:25 +03:00
levlam
5895f817d8 Support missed device token types, better names for 'token' fields.
GitOrigin-RevId: 2bf86a45e30387a8bf0ee0aa93c1c795f402d138
2018-01-19 18:04:16 +03:00
levlam
8eb46f6715 Improve Java binding.
GitOrigin-RevId: ec10cb32f546a1249f4fe5f309eaff7488c31182
2018-01-15 16:47:24 +03:00
levlam
f82ac0be6e Sandboxed APNS support.
GitOrigin-RevId: 1e3e0460bfe8c52b82c7a30706bf29cb1622d950
2018-01-10 15:11:35 +03:00
levlam
3eebb16020 Support other_user_ids in registerDevice.
GitOrigin-RevId: 7d14fc21be9ebb56f3d759746f6a11cd5bd78c87
2018-01-10 03:18:03 +03:00
levlam
c5fb5f1336 Update layer to #74.
GitOrigin-RevId: 98c777a7dba65e49f2206ba016283b3737e80d89
2018-01-10 00:04:18 +03:00
levlam
5cbda834bd Update copyright year.
GitOrigin-RevId: 1369d3af1195221f6ddb9462d5f8b74fb5fef20f
2018-01-02 16:45:09 +03:00
Arseny Smirnov
71d03f39c3 Project import generated by Copybara.
GitOrigin-RevId: 318483224ad6164d9966f731d60cde37039bb2d4
2017-12-31 23:08:40 +03:00