mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
[WIP] Stories
This commit is contained in:
@@ -1254,6 +1254,8 @@ public final class AccountViewTracker {
|
||||
for media in message.media {
|
||||
if let storyMedia = media as? TelegramMediaStory {
|
||||
result.insert(storyMedia.storyId)
|
||||
} else if let webpage = media as? TelegramMediaWebpage, case let .Loaded(content) = webpage.content, let story = content.story {
|
||||
result.insert(story.storyId)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user