Commit Graph

35 Commits

Author SHA1 Message Date
levlam
bd531081ad Add Notification.h.
GitOrigin-RevId: e102973d5585fdf346ac01b09bd2262f9c11fd2e
2018-11-26 20:05:06 +03:00
levlam
e59ea01c4d Do not forse updateStatus after authorization.
GitOrigin-RevId: 323778dd60fb3f438f2af466df2eb26b89471d1c
2018-11-18 01:54:25 +03:00
Arseny Smirnov
27770ce060 Destroy mtproto keys on logout
GitOrigin-RevId: 8ac2bafd2d1897dc0942a33d8406ea8c2e5dfaa7
2017-12-29 23:34:39 +03:00
levlam
2540555ae5 Remove source from get_my_id.
GitOrigin-RevId: 623c24323b55937866841c4b0f32b109c513983b
2018-10-08 17:21:56 +03:00
levlam
db14b2da4e Add dummy td_api::getCurrentState.
GitOrigin-RevId: 31ea0cfdc0c715fec52ef27340bed7358b13e042
2018-09-20 19:33:41 +03:00
levlam
bd09e39788 Fix logging in after entering a wrong password.
GitOrigin-RevId: 3f0284a015fb9b59257befc5d988833ecdaa1f64
2018-08-13 12:24:37 +03:00
levlam
8283d04942 Auto log in if password was removed just after code checking.
GitOrigin-RevId: f01d53b5d93ec20690a4099d8be1d60d6b9ca3c1
2018-08-13 01:44:53 +03:00
levlam
d3bce1b23d Fix some includes.
GitOrigin-RevId: a3fecf68a676120e1bbd5936d98dee6cf05e8294
2018-08-10 21:54:17 +03:00
levlam
00fabb8f97 Update layer to 84.
GitOrigin-RevId: a2057596f00201ee967e7d038e048b618f6e629d
2018-08-10 16:22:48 +03:00
levlam
c9c2760173 Update layer to 83.
GitOrigin-RevId: 2220a0399ed081441fefc06069b06efa11b8447b
2018-08-04 09:55:49 +03:00
levlam
c40cacfa34 Marked as unread support.
GitOrigin-RevId: b439d8365dad9580cf2d93f97037a2f37cd83adf
2018-06-28 00:08:44 +03:00
levlam
a3571b676e Allow to call deleteAccount before authorization. ConfirmPhone support.
GitOrigin-RevId: 36829ee37780ee82b1eb25cea594a673aa490dda
2018-06-27 21:26:52 +03:00
levlam
46535703e0 Fix some includes.
GitOrigin-RevId: 901d167d7197e4c0222656e9fc1f9fc0e216e44b
2018-06-26 02:43:11 +03:00
levlam
53f7e0cedf Terms of service update support.
GitOrigin-RevId: 3c4c34def98e06e9b6da5102614f797046ff0921
2018-06-08 01:19:34 +03:00
levlam
a72494d721 Support Terms of Service.
GitOrigin-RevId: 389c4ba590a4feb34ac6d801f9097291e87423d8
2018-06-07 21:42:17 +03:00
levlam
a038754fcb Allow to check code before entering first name on registration.
GitOrigin-RevId: be08dd29486959d4059f72af61c4c630afc812c3
2018-06-01 01:27:34 +03:00
levlam
7de9a0c15d New Proxy API.
GitOrigin-RevId: 2f96b8d1732c25e10a7568c6cf2dbbe26a150e4a
2018-05-14 22:00:38 +03:00
levlam
1c3ba5c3a3 Fix g++ Internal Compiler Error 2.
GitOrigin-RevId: d1881c8bc7ca03bfb6e48d93cd4217a0a14ab7d2
2018-04-09 21:53:43 +03:00
levlam
50ab1fd175 Fix g++ CEs, warnings and Internal Compiler Errors.
GitOrigin-RevId: 0d7213b04cbbe67157f93fcdcf76f11373b47470
2018-04-09 21:28:50 +03:00
levlam
184af85bfc Update layer 78: venue_type, email code length.
GitOrigin-RevId: c10dc49dd0ecd467a78b17081239305035f6e642
2018-04-09 21:06:37 +03:00
Arseny Smirnov
ed4a90a717 Phone number verification
GitOrigin-RevId: f20d2a822de49eaa558fcf0cd8ecfbfb8b3f75b8
2018-04-09 17:20:12 +03:00
Arseny Smirnov
fb79d6f95a Layer 78. Initial Telegram Passport support.
GitOrigin-RevId: 197994bcf62a76cd963f32a8dd7f5951d7b6588b
2018-03-27 16:11:15 +03:00
levlam
0d69e77689 Better load service notifications user.
GitOrigin-RevId: b98f1652ae0ca2afb506052b28413000dd6b2a74
2018-03-27 03:12:32 +03:00
levlam
d96aab7aeb Add phone_number to authenticationCodeInfo.
GitOrigin-RevId: 3bbf8676c1a1891b84753cc2ca489bcff52c780b
2018-03-15 19:59:57 +03:00
Arseny Smirnov
710f71701a AuthManager: persistent State::WaitPassword
GitOrigin-RevId: dd863c2484b16da1700e280b13adc01facb7c8bb
2018-03-15 13:06:26 +03:00
levlam
6855704b52 Better AuthManager storers and parsers.
GitOrigin-RevId: 20e1e7ed3591d1f99c0661164360822dd6d0b3e6
2018-03-14 22:47:08 +03:00
Arseny Smirnov
85d10e91c3 Store in db AuthManager in state WaitCode
GitOrigin-RevId: 06df8525c60f4de347c694e8c212a138c151ac4c
2018-03-14 21:04:41 +03:00
levlam
9633b50112 Postpone authorizationStateReady if my_id isn't known.
GitOrigin-RevId: afa8d365f527672dc53424b03fff775a28569189
2018-03-09 04:17:38 +03:00
levlam
9fb92d8293 Restore unknown my_id in AuthManager.
GitOrigin-RevId: 00463e66676aba887ef3c12c7d8225ef224c0bc0
2018-03-09 03:52:12 +03:00
levlam
5986bb7df0 Send updateOption("my_id") before authorizationStateReady.
GitOrigin-RevId: 73fdce38a87ffb6fcea8bfa8b059f83dcd510007
2018-03-09 00:42:25 +03:00
levlam
a25cfc3e06 Fix is_bot.
GitOrigin-RevId: ac6909ef9ed31bfb7b4b34d015f54a7d6e97c3e2
2018-03-08 20:35:23 +03:00
levlam
a6ab35e616 Replace std::max/min with td::max/min.
GitOrigin-RevId: 56fb21194e995cbb37b3ebb5caed689c10320b8d
2018-02-12 13:37:54 +03:00
levlam
dc113f2b84 Send updateAuthorizationState after password recovery requested.
GitOrigin-RevId: e01fbf692be70a9de7f2e56e4469fe1795721172
2018-01-06 23:52:06 +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