국메 삭제 가능
This commit is contained in:
@@ -289,11 +289,15 @@ class Message
|
|||||||
];
|
];
|
||||||
|
|
||||||
if($msgObj->msgType == Message::MSGTYPE_PRIVATE || $msgObj->msgType == Message::MSGTYPE_NATIONAL){
|
if($msgObj->msgType == Message::MSGTYPE_PRIVATE || $msgObj->msgType == Message::MSGTYPE_NATIONAL){
|
||||||
$msgObj2 = static::getMessageByID($msgObj->msgOption['receiverMessageID']);
|
$receiveID = $msgObj->msgOption['receiverMessageID']??null;
|
||||||
if($msgObj2 !== null){
|
if($receiveID !== null){
|
||||||
$msgObj2->invalidate(null, false);
|
$msgObj2 = static::getMessageByID($receiveID);
|
||||||
$msgOption['overwrite'][] = [$msgObj2->id];
|
if($msgObj2 !== null){
|
||||||
|
$msgObj2->invalidate(null, false);
|
||||||
|
$msgOption['overwrite'][] = [$msgObj2->id];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$in1min = new \DateTime();
|
$in1min = new \DateTime();
|
||||||
|
|||||||
Reference in New Issue
Block a user