昵称问题
This commit is contained in:
@@ -214,7 +214,7 @@ class MessageController extends ApiController
|
||||
}
|
||||
|
||||
// 未读计数
|
||||
$unreadCount = Db::name('chat_unread_count')->where(['user_id' => $this->uid, 'session_id' => $session['session_id']])->value('count')?:0;
|
||||
$unreadCount = Db::name('chat_unread_count')->where(['user_id' => $this->uid, 'session_id' => $session['to_id']])->value('count')?:0;
|
||||
}
|
||||
if($session['chat_type'] == 2) {
|
||||
if($lastMsg) {
|
||||
|
||||
Reference in New Issue
Block a user