Fix snapchat movies
Snapchat movies are now handeled correctly.
This commit is contained in:
parent
cd9b1b6ae3
commit
ee82fdf57e
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue