Commit Graph

30 Commits

Author SHA1 Message Date
levlam
0b387a61ad Add source to dup_file_id. 2022-11-21 11:40:43 +03:00
levlam
88ffdb62e7 Split NotificationSettings.h. 2022-10-25 01:22:04 +03:00
levlam
04b98aa385 Use OptionManager directly if possible. 2022-08-18 17:00:18 +03:00
levlam
3318ffdb20 Proxy all option-related requests through G. 2022-08-17 16:11:13 +03:00
levlam
d75791481f Improve FileView::get_main_file_id() method name. 2022-07-03 12:01:08 +03:00
levlam
80df1e2968 Add notificationTypeNewMessage.show_preview. 2022-06-16 18:54:50 +03:00
levlam
3ae2ec38c5 Always reload scope notification settings. 2022-05-31 17:18:27 +03:00
levlam
6790c309ac Move data reloading to UpdatesManager. 2022-05-12 16:34:13 +03:00
levlam
a91bed2996 Add notification sound size and duration checks. 2022-04-18 19:08:32 +03:00
levlam
9c3675d61b Minor fixes. 2022-04-16 06:01:05 +03:00
levlam
eef401cea0 Save and load saved notification sounds. 2022-04-16 04:20:36 +03:00
levlam
6b23333ff4 Fix removal of saved ringtone. 2022-04-15 22:08:57 +03:00
levlam
147697fdf5 Add updateSavedNotificationSounds. 2022-04-15 21:54:47 +03:00
levlam
a59201f913 Reload all notification sounds if list is changed unpredictably. 2022-04-15 21:19:15 +03:00
levlam
3215bb0242 Replace is_silent with sound_id in notifications. 2022-04-15 18:36:24 +03:00
levlam
77532d67f8 Support file reference repair for notification sounds. 2022-04-15 16:27:30 +03:00
levlam
a16a5ec5e3 Support ringtone uploading. 2022-04-15 14:07:54 +03:00
levlam
42c6280321 Add addSavedNotificationSound. 2022-04-14 22:39:25 +03:00
levlam
178d6414dd Add td_api::removeSavedNotificationSound. 2022-04-14 14:31:18 +03:00
levlam
f849131873 Add getSavedNotificationSound. 2022-04-14 13:23:43 +03:00
levlam
1f18008cc6 Add td_api::getSavedNotificationSounds. 2022-04-13 22:14:40 +03:00
levlam
7fff2d2e40 Reload ringtones after receiving updateSavedRingtones. 2022-04-13 20:36:57 +03:00
levlam
163e739302 Add set_promises/fail_promises helper functions. 2022-04-13 17:40:12 +03:00
levlam
7a2b3abe18 Support new NotificationSound. 2022-04-11 20:01:44 +03:00
levlam
bb8c4ca42c Fix updating of Dialog.available_reactions_generation. 2022-04-11 16:01:30 +03:00
levlam
80d57a493f Move get_input_notify_peer to NotificationSettingsManager. 2022-04-11 13:06:16 +03:00
levlam
9fd72e86d0 Move scope notification settings tp NotificationSettingsManager. 2022-04-11 12:45:52 +03:00
levlam
61014ce5b0 Minor fixes. 2022-04-10 22:10:41 +03:00
levlam
cb5fe8c7cd Move some related to notification settings methods to NotificationSettingsManager. 2022-04-08 17:17:56 +03:00
levlam
7e69ef731d Add empty NotificationSettingsManager. 2022-04-05 00:40:22 +03:00