API update

This commit is contained in:
Ilya Laktyushin
2020-07-06 14:19:22 +03:00
parent 0a2b9ad3d1
commit 1337d7ac18
5 changed files with 105 additions and 126 deletions

View File

@@ -7,7 +7,7 @@ import SyncCore
func parsedTelegramProfilePhoto(_ photo: Api.UserProfilePhoto) -> [TelegramMediaImageRepresentation] {
var representations: [TelegramMediaImageRepresentation] = []
switch photo {
case let .userProfilePhoto(_, photoSmall, photoBig, dcId):
case let .userProfilePhoto(flags, _, photoSmall, photoBig, dcId):
let smallResource: TelegramMediaResource
let fullSizeResource: TelegramMediaResource
switch photoSmall {