Correct the termination of COMMUNITY tab process due to missing page tokens

This commit is contained in:
Benjamin Loison 2023-02-10 00:37:28 +01:00
parent ea604cce40
commit 4508b12b6c
Signed by: Benjamin_Loison
SSH Key Fingerprint: SHA256:BtnEgYTlHdOg1u+RmYcDE0mnfz1rhv5dSbQ2gyxW8B8

View File

@ -398,7 +398,7 @@ void treatChannelOrVideo(unsigned short threadId, bool isChannel, string id, str
{ {
pageToken = data["nextPageToken"]; pageToken = data["nextPageToken"];
} }
if(pageToken == "") else
{ {
break; break;
} }