Video Stickers Fixes/Users/ilya/Projects/Telegram-iOS-Beta/submodules/BrowserUI/BUILD

This commit is contained in:
Ilya Laktyushin 2022-01-29 01:15:16 +03:00
parent a502867bdd
commit a788af5355

View File

@ -184,7 +184,7 @@ func applyUpdateMessage(postbox: Postbox, stateManager: AccountStateManager, mes
sentStickers.append(file)
}
case .Animated:
if !file.isVideoSticker {
if !file.isAnimatedSticker && !file.isVideoSticker {
sentGifs.append(file)
}
default:
@ -366,7 +366,9 @@ func applyUpdateGroupMessages(postbox: Postbox, stateManager: AccountStateManage
sentStickers.append(file)
}
case .Animated:
sentGifs.append(file)
if !file.isAnimatedSticker && !file.isVideoSticker {
sentGifs.append(file)
}
default:
break
}