Commit c5a2e106 authored by hujun's avatar hujun

只更新一条状态

parent f556fdbd
......@@ -163,7 +163,7 @@ class ChatService
$this->chatUserExtModel->addChatUserExt(['is_forbidden'=>1], $v['id']);
}
} else {
if ($v['ext_id'] == $chat_user_id) {
if ($v['ext_id'] == $chat_user_id && $current_user_id != $chat_user_id) {
$this->chatUserExtModel->addChatUserExt(['is_forbidden'=>0], $v['id']);
$current_user_id = $chat_user_id;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment