mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-10 13:43:54 +00:00
Initial cloud tones support.
This commit is contained in:
@@ -30,6 +30,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include "data/components/top_peers.h"
|
||||
#include "data/notify/data_notify_settings.h"
|
||||
#include "data/stickers/data_stickers.h"
|
||||
#include "data/data_ai_compose_tones.h"
|
||||
#include "data/data_saved_messages.h"
|
||||
#include "data/data_saved_sublist.h"
|
||||
#include "data/data_session.h"
|
||||
@@ -2779,6 +2780,10 @@ void Updates::feedUpdate(const MTPUpdate &update) {
|
||||
session().api().ringtones().applyUpdate();
|
||||
} break;
|
||||
|
||||
case mtpc_updateAiComposeTones: {
|
||||
session().data().aiComposeTones().applyUpdate();
|
||||
} break;
|
||||
|
||||
case mtpc_updateTranscribedAudio: {
|
||||
const auto &data = update.c_updateTranscribedAudio();
|
||||
_session->api().transcribes().apply(data);
|
||||
|
||||
Reference in New Issue
Block a user