Message::send 반환값 정리
This commit is contained in:
@@ -279,19 +279,20 @@ class Message
|
|||||||
if($sendID){
|
if($sendID){
|
||||||
$this->mailbox = $senderMailbox;
|
$this->mailbox = $senderMailbox;
|
||||||
$this->isInboxMail = false;
|
$this->isInboxMail = false;
|
||||||
|
$this->id = $sendID;
|
||||||
$this->msgOption['senderMessageID'] = $sendID;
|
$this->msgOption['senderMessageID'] = $sendID;
|
||||||
$this->$sendCnt=1;
|
$this->$sendCnt = 1;
|
||||||
}
|
}
|
||||||
list($receiverMailbox, $receiveID) = $this->sendToReceiver();
|
list($receiverMailbox, $receiveID) = $this->sendToReceiver();
|
||||||
if(!$receiveID){
|
if(!$receiveID){
|
||||||
$this->id = $sendID;
|
|
||||||
return $sendID;
|
return $sendID;
|
||||||
}
|
}
|
||||||
$this->mailbox = $receiverMailbox;
|
$this->mailbox = $receiverMailbox;
|
||||||
$this->isInboxMail = true;
|
$this->isInboxMail = true;
|
||||||
$this->id = $receisendID;
|
$this->id = $receiveID;
|
||||||
$this->$sendCnt=2;
|
$this->msgOption['receiverMessageID'] = $receiveID;
|
||||||
$this->msgOption['receiverMessageID'] = $sendID;
|
$this->$sendCnt = 2;
|
||||||
|
|
||||||
return $receiveID;
|
return $receiveID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user