Commit Graph

20 Commits

Author SHA1 Message Date
levlam
f0b4824924 Allow to start OptionManager on any scheduler. 2022-10-04 21:08:07 +03:00
levlam
73f945bd8b Support setting "is_location_visible" option before authorization. 2022-08-19 14:16:53 +03:00
levlam
3de61c80f2 Postpone some getOption requests until initialization. 2022-08-18 19:54:04 +03:00
levlam
266e5d4b16 Fix setting "is_location_visible" option before authorization. 2022-08-18 19:38:30 +03:00
levlam
29b35f3698 Call on_option_updated only after Td is fully inited. 2022-08-18 19:12:15 +03:00
levlam
bece21cc38 Make OptionManager a plain class. 2022-08-18 18:52:59 +03:00
levlam
149d505781 Move option-related functions to OptionManager. 2022-08-18 14:54:57 +03:00
levlam
febf458091 Move set_default_reaction to MessageReaction.h. 2022-08-15 22:47:02 +03:00
levlam
e44418f2b3 Add and use everywhere OptionsManager::get_synchronous_options(). 2022-07-11 15:36:29 +03:00
levlam
17a548292b Allow to get synchronously options "version" and "commit_hash". 2022-07-11 13:33:56 +03:00
levlam
32bac7bd24 Move Promise to tdutils. 2022-06-27 13:30:18 +03:00
levlam
dd48b43769 Allow to change default reaction. 2022-01-05 18:03:02 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
d7e559b45c Move get_option_value_object to OptionManager. 2021-12-16 22:56:19 +03:00
levlam
d75f0a4e94 Move "unix_time" option handling to OptionManager. 2021-12-16 15:18:51 +03:00
levlam
ee629c342b Move setOption handling to OptionManager. 2021-12-16 13:13:14 +03:00
levlam
10505fae72 Move the rest options to OptionManager::get_current_state. 2021-12-16 12:16:09 +03:00
levlam
a333f3fb61 Move getOption handling to OptionManager. 2021-12-16 12:07:32 +03:00
levlam
4254614e97 Move option-related methods to OptionManager. 2021-12-16 01:45:43 +03:00
levlam
191b4ee5d5 Add empty OptionManager. 2021-12-16 01:09:59 +03:00