2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Added api ability to load list of available ringtones.

This commit is contained in:
23rd
2022-04-04 22:06:25 +03:00
parent 085c6f9c12
commit 1c9b1ea69f
3 changed files with 82 additions and 1 deletions

View File

@@ -9,6 +9,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "api/api_authorizations.h"
#include "api/api_chat_participants.h"
#include "api/api_ringtones.h"
#include "api/api_text_entities.h"
#include "api/api_user_privacy.h"
#include "api/api_unread_things.h"
@@ -2374,6 +2375,10 @@ void Updates::feedUpdate(const MTPUpdate &update) {
session().data().cloudThemes().applyUpdate(data.vtheme());
} break;
case mtpc_updateSavedRingtones: {
session().api().ringtones().applyUpdate();
} break;
}
}