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

Fix pasting file for media replacement.

This commit is contained in:
John Preston
2023-04-11 20:06:38 +04:00
parent 22ca4e25d9
commit ad3ec244e9
3 changed files with 58 additions and 0 deletions

View File

@@ -50,6 +50,12 @@ public:
FullMsgId itemId,
TextWithTags text,
Fn<void()> saved);
static void StartMediaReplace(
not_null<Window::SessionController*> controller,
FullMsgId itemId,
Ui::PreparedList &&list,
TextWithTags text,
Fn<void()> saved);
static void StartPhotoEdit(
not_null<Window::SessionController*> controller,
std::shared_ptr<Data::PhotoMedia> media,