Skip to content

Commit

Permalink
Fix decompression of photoStrippedSize (danog#1120)
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaDevelop authored and danog committed Feb 28, 2022
1 parent 62bcda9 commit 25a509f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/danog/MadelineProto/Tools.php
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,7 @@ public static function inflateStripped(string $stripped): string
"\x3f\x00";
static $footer = "\xff\xd9";
$header[164] = $stripped[1];
$header[165] = $stripped[2];
$header[166] = $stripped[2];
return $header.\substr($stripped, 3).$footer;
}
/**
Expand Down

0 comments on commit 25a509f

Please sign in to comment.