Skip to content
This repository was archived by the owner on Oct 30, 2024. It is now read-only.

Commit ae94c06

Browse files
committed
Merge pull request repejota#37 from repejota/FIX-MESSAGE
Fixing construction of Message in handleMSG method
2 parents 5121c0f + 7977b42 commit ae94c06

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/Connection.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,9 @@ private function handleMSG($line)
333333
if (count($parts) == 5) {
334334
$length = $parts[5];
335335
$subject = $parts[3];
336+
} elseif (count($parts) == 4) {
337+
$length = $parts[3];
338+
$subject = $parts[1];
336339
}
337340

338341
$payload = $this->receive($length);

0 commit comments

Comments
 (0)