* skip creating xuan action for nonexistent user logging in, bug #49868.

This commit is contained in:
liwenrui
2024-05-31 09:48:06 +08:00
parent 7e784ac45f
commit b779ade86a
@@ -146,6 +146,7 @@ class xuanxuanIm extends imModel
$userID = $this->dao->select('id')->from(TABLE_USER)->where('account')->eq($user)->fetch('id');
$account = $user;
}
if(empty($userID)) return;
$actor = !empty($account) ? $account : '';
$extra = json_encode(array('actorId' => $userID));