From b8636763c1cd160dee5565def2c440e0b7532018 Mon Sep 17 00:00:00 2001 From: hide_d Date: Tue, 10 Apr 2018 02:53:35 +0900 Subject: [PATCH] =?UTF-8?q?Message::send=20=EB=B0=98=ED=99=98=EA=B0=92=20?= =?UTF-8?q?=EC=A0=95=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/Message.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/hwe/sammo/Message.php b/hwe/sammo/Message.php index abb33053..086cc179 100644 --- a/hwe/sammo/Message.php +++ b/hwe/sammo/Message.php @@ -279,19 +279,20 @@ class Message if($sendID){ $this->mailbox = $senderMailbox; $this->isInboxMail = false; + $this->id = $sendID; $this->msgOption['senderMessageID'] = $sendID; - $this->$sendCnt=1; + $this->$sendCnt = 1; } list($receiverMailbox, $receiveID) = $this->sendToReceiver(); if(!$receiveID){ - $this->id = $sendID; return $sendID; } $this->mailbox = $receiverMailbox; $this->isInboxMail = true; - $this->id = $receisendID; - $this->$sendCnt=2; - $this->msgOption['receiverMessageID'] = $sendID; + $this->id = $receiveID; + $this->msgOption['receiverMessageID'] = $receiveID; + $this->$sendCnt = 2; + return $receiveID; } }