2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Allow accepting video userpic suggestions.

This commit is contained in:
John Preston
2022-12-14 12:20:01 +04:00
parent 446f0f1653
commit 9513aaa768
16 changed files with 287 additions and 149 deletions

View File

@@ -95,6 +95,8 @@ struct FileReferenceAccumulator {
data.vaction().match(
[&](const MTPDmessageActionChatEditPhoto &data) {
push(data.vphoto());
}, [&](const MTPDmessageActionSuggestProfilePhoto &data) {
push(data.vphoto());
}, [](const auto &data) {
});
}, [](const MTPDmessageEmpty &data) {