Skip to content

Commit

Permalink
unwrap compressed before compress
Browse files Browse the repository at this point in the history
Signed-off-by: Nguyen Van Nguyen <nguyennv1981@gmail.com>
  • Loading branch information
nguyennv committed Jan 13, 2025
1 parent afac787 commit 4016131
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Message/LiteralMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ public function compress(
return new self(
new PacketList([
CompressedData::fromPackets(
$this->getPackets(),
self::unwrapCompressed($this->getPackets()),
$algorithm
),
])
Expand Down

0 comments on commit 4016131

Please sign in to comment.