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

Commit 7977b42

Browse files
author
jgil
committed
Fixing construction of Message in handleMSG method
1 parent 5121c0f commit 7977b42

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)