Refactoring

Co-Authored-By: Tobias Groza <TobiGr@users.noreply.github.com>
This commit is contained in:
B0pol 2020-01-20 21:28:26 +01:00 committed by GitHub
parent ad7f97ae83
commit f403490bd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ public class PeertubeStreamExtractor extends StreamExtractor {
} catch (ParsingException e) {
return "No description";
}
if (desc.length() == 250 && desc.substring(desc.length() - 3).equals("...")) {
if (desc.length() == 250 && desc.substring(247).equals("...")) {
//if description is shortened, get full description
Downloader dl = NewPipe.getDownloader();
try {