mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Update API scheme on layer 160.
This commit is contained in:
@@ -43,8 +43,8 @@ constexpr auto kSavedPerPage = 100;
|
||||
using UpdateFlag = StoryUpdate::Flag;
|
||||
|
||||
[[nodiscard]] std::optional<StoryMedia> ParseMedia(
|
||||
not_null<Session*> owner,
|
||||
const MTPMessageMedia &media) {
|
||||
not_null<Session*> owner,
|
||||
const MTPMessageMedia &media) {
|
||||
return media.match([&](const MTPDmessageMediaPhoto &data)
|
||||
-> std::optional<StoryMedia> {
|
||||
if (const auto photo = data.vphoto()) {
|
||||
|
Reference in New Issue
Block a user