Commit Graph

122 Commits

Author SHA1 Message Date
levlam
6817f3fc44 Allow to specify password in deleteAccount. 2022-07-01 21:25:34 +03:00
levlam
e38615b71e Update layer to 144. 2022-07-01 14:33:59 +03:00
levlam
32bac7bd24 Move Promise to tdutils. 2022-06-27 13:30:18 +03:00
levlam
f62632fcbc Remove rarely used PromiseCreator::lambda with 2 lambdas. 2022-06-26 17:11:27 +03:00
levlam
21d8ba2f41 Ignore authorization loss errors while logging out. 2022-06-20 17:43:08 +03:00
levlam
bfcf52f87c Support MTPROTO_CLUSTER_INVALID error. 2022-06-06 20:36:15 +03:00
Arseny Smirnov
449974d425 Double check authorization during start up 2022-05-02 19:34:01 +04:00
levlam
ec802b1b57 Add updateAttachMenuBots. 2022-03-25 16:00:06 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
93b3f64121 Pass parameter by value. 2021-12-15 20:30:25 +03:00
levlam
f5c65b83ee Add suggestedActionSetPassword. 2021-11-26 16:22:39 +03:00
levlam
30e4350689 Support authentication tokens. 2021-11-24 17:01:02 +03:00
levlam
6ace4fdf36 Update layer to 135. 2021-11-09 19:07:55 +03:00
levlam
1d3cf2c209 Fix continuation of auth key destroy after restart. 2021-12-01 16:16:18 +03:00
levlam
60907279fd Add missing checks for close_flag in Timeout callbacks. 2021-11-13 22:37:41 +03:00
levlam
616b0e6d6f Improve ResultHandler/NetActor td_ private field name. 2021-11-08 15:20:38 +03:00
levlam
0c1e268706 Don't generate MASK for parsed True fields. 2021-11-01 21:53:23 +03:00
levlam
00a349656d Unify td/telegram/include order. 2021-10-27 17:32:09 +03:00
levlam
db7aa28bdf A lot more minor improvements. 2021-10-19 18:11:16 +03:00
levlam
5091aa68e3 Allow direct access to TopDialogManager. 2021-09-24 23:17:38 +03:00
levlam
d6f3d9f08a Use error code 400 instead of small error codes. 2021-09-24 10:59:51 +03:00
levlam
075d004b9f Replace getChatThemes with updateChatThemes. 2021-09-13 15:55:01 +03:00
levlam
c5437ef918 Improve logging on loading authorization state. 2021-07-26 21:06:59 +03:00
levlam
709afe3f0c Add checkAuthenticationPasswordRecoveryCode. 2021-06-28 22:33:08 +03:00
levlam
1394d5d697 Support new_password in recoverAuthenticationPassword. 2021-06-28 21:36:54 +03:00
levlam
3c400f12b4 Support new_password in recoverPassword. 2021-06-28 19:47:23 +03:00
levlam
da2d81c81b Update layer to 131. 2021-06-28 15:55:11 +03:00
levlam
2b7b6b7759 Improve logging on log out. 2021-06-27 05:52:43 +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
0339921102 Improve some spelling. 2021-03-15 03:32:14 +03:00
levlam
dd80b0ef25 Add Td::set_is_bot_online function. 2021-03-02 04:06:02 +03:00
levlam
0acc29b1d2 Treat bots as always online. 2021-01-11 22:22:18 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam
95feb7baa5 Disallow checkAuthenticationBotToken in Ready state.
GitOrigin-RevId: 74290424fabe07988d646ee17e831911ffcd1594
2020-09-25 01:11:17 +03:00
levlam
1fe397e43d Make optionValueInteger value int64.
GitOrigin-RevId: 7da1c4f051691ff7df31627115a9a37e6c5d5802
2020-09-25 00:46:16 +03:00
Arseny Smirnov
c1252ad929 Remove copy-paste
GitOrigin-RevId: 991db7c79885c44d71095c83fd75311db66b5305
2020-08-18 18:29:45 +03:00
levlam
641485502e Remove copy-paste.
GitOrigin-RevId: cfac1de1eb79634dd846e852ae4b7ac83e126374
2020-08-17 17:35:15 +03:00
levlam
cb4291d803 Remove unneeded updateAuthorizationState updates.
GitOrigin-RevId: 8369fce80f0d67317a836fcc5fbe02f618c6aa99
2020-08-17 17:04:45 +03:00
Arseny Smirnov
1f9529520f NetQuery: support priority
GitOrigin-RevId: 84290ffa7689364f74140c5b951b95ea4792b68d
2020-08-17 16:13:18 +03:00
levlam
3175e6680f More uses of td in AuthManager.
GitOrigin-RevId: 5b5427ec16f93b309cebdb2115473b38d2d3dab4
2020-08-16 10:17:17 +03:00
levlam
c5059bcac3 Minor fixes.
GitOrigin-RevId: 28f8cabca2f70ba692f8713ec68866495061b31a
2020-08-05 20:36:13 +03:00
Arseny Smirnov
3fb9b8a992 td: relax limits for connection creation during logout
GitOrigin-RevId: 2c7e81d931a36cecaaf8dd1b463365d3e039873f
2020-08-05 19:49:34 +03:00
levlam
cc28bdeae3 Fix "log out" spelling.
GitOrigin-RevId: e943fa4531d4d15043f762883eb8b77d9c58365d
2020-07-23 00:19:47 +03:00
levlam
fcd09d5c25 Fix error logging.
GitOrigin-RevId: d734897ab870154d47a3e576ba3cba8eb4d3156e
2020-07-22 21:28:20 +03:00
levlam
10c3cc2a51 Improve logging.
GitOrigin-RevId: d724bc73494d5ad5f19bc5d0e87c6bdc361183ee
2020-06-18 03:49:31 +03:00
levlam
36b8ab4d1d Fix MessagesManager initialization after authorization.
GitOrigin-RevId: bf9c4068876e778316218997c41392228633ab7d
2020-06-04 02:02:17 +03:00
levlam
7680ccf967 Do not reload dialog filters before authorization.
GitOrigin-RevId: c76d4e0a87a24c41a82d288534b4c3c201bf963b
2020-06-03 19:21:59 +03:00
levlam
cc77e7e9ca Add td_api::createChatFilter.
GitOrigin-RevId: 4c3fa89cae21b1db3643cfe7640d8ef1043b99f9
2020-05-18 22:26:44 +03:00
levlam
0af026dd63 Poll promo data always.
GitOrigin-RevId: cf678c7389289dae6f7c040179bb60b86f1cac41
2020-04-30 21:00:58 +03:00
levlam
269047d133 Remove AuthManager::set_is_bot.
GitOrigin-RevId: b56180dda8aab189c0cb3a3d2f5624e4a5307366
2020-04-30 00:54:43 +03:00