Fix videos in status posts

This commit is contained in:
2024-04-21 13:57:40 +10:00
parent 43b92f49be
commit 7398ea2d13
5 changed files with 34 additions and 14 deletions

View File

@@ -45,6 +45,10 @@ module Main
return photos.first["url"]
end
if videos?
return videos.first["value"]
end
inline_images.first[1] if inline_images
end