mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 22:55:11 +00:00
Added api ability to load list of available ringtones.
This commit is contained in:
@@ -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;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user