2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Start stories viewer with ComposeControls.

This commit is contained in:
John Preston
2023-05-03 22:30:37 +04:00
parent 429a3da3e5
commit 89ca38ed29
23 changed files with 884 additions and 20 deletions

View File

@@ -37,6 +37,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "data/data_forum.h"
#include "data/data_scheduled_messages.h"
#include "data/data_send_action.h"
#include "data/data_stories.h"
#include "data/data_message_reactions.h"
#include "inline_bots/bot_attach_web_view.h"
#include "chat_helpers/emoji_interactions.h"
@@ -2517,7 +2518,11 @@ void Updates::feedUpdate(const MTPUpdate &update) {
case mtpc_updateTranscribedAudio: {
const auto &data = update.c_updateTranscribedAudio();
_session->api().transcribes().apply(data);
}
} break;
case mtpc_updateStories: {
_session->data().stories().apply(update.c_updateStories());
} break;
}
}