add video thumbnail to photos

This commit is contained in:
VTGare 2022-04-09 15:35:55 +03:00
parent e2f8520399
commit d6982a9b13

View file

@ -218,6 +218,7 @@ func (timeline *timeline) parseTweet(id string) *Tweet {
} }
} }
tw.Photos = append(tw.Photos, video.Preview)
tw.Videos = append(tw.Videos, video) tw.Videos = append(tw.Videos, video)
} }