From 75c99904c6250d619e4f4e15b0fecc65ea44b018 Mon Sep 17 00:00:00 2001 From: hide_d Date: Sat, 10 Feb 2018 22:05:50 +0900 Subject: [PATCH] =?UTF-8?q?sendRawMessage=EA=B0=80=20DB=20=EC=8A=A4?= =?UTF-8?q?=ED=82=A4=EB=A7=88=EC=99=80=20=EB=A7=9E=EC=A7=80=20=EC=95=8A?= =?UTF-8?q?=EB=8A=94=20=EB=B2=84=EA=B7=B8=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- twe/func_message.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/twe/func_message.php b/twe/func_message.php index e8cbc588..58f26243 100644 --- a/twe/func_message.php +++ b/twe/func_message.php @@ -100,7 +100,8 @@ function sendRawMessage($msgType, $isSender, $mailbox, $src, $dest, $msg, $date, getDB()->insert('message', array( 'address' => $dest, - 'type' => 'receive', + 'type' => $msgType, + 'is_sender' => $isSender, 'src' => $src['id'], 'dest' => $dest['id'], 'time' => $date,