Fix snapchat movies

Snapchat movies are now handeled correctly.
This commit is contained in:
Andreas Mieke 2017-05-07 16:15:57 +02:00
parent cd9b1b6ae3
commit ee82fdf57e

View file

@ -121,7 +121,7 @@ func ImageNameGenerator(seed string) (string, string) {
}
func RotateImage(snap Snap, data io.Reader, path string) (string, error) {
if snap.Movie == 1 {
if snap.Movie != 0 {
ext := ".mp4"
blob, err := ioutil.ReadAll(data)
if err != nil {