Bug fixed: All the gifts had before same image link

This commit is contained in:
JW
2023-10-12 15:16:43 +02:00
parent 4d8d785dc7
commit 957e38a5d2
18 changed files with 17054 additions and 795 deletions

View File

@@ -51,7 +51,7 @@ public class Picture {
public static Picture map(io.github.jwdeveloper.tiktok.messages.data.Image profilePicture) {
var index = profilePicture.getUrlListCount() - 1;
if (index <= 0) {
if (index < 0) {
return new Picture("");
}
var url = profilePicture.getUrlList(index);