feat: 增加自定义头像上传、自动压缩与自动清理功能,统一全站头像路径读取逻辑
This commit is contained in:
@@ -131,7 +131,7 @@ class ChatStateService
|
||||
{
|
||||
$usernames = [];
|
||||
foreach ($this->getAllActiveRoomIds() as $roomId) {
|
||||
$key = "room:{$roomId}:users";
|
||||
$key = "room:{$roomId}:users";
|
||||
$users = Redis::hkeys($key); // 只取 key(用户名),不取 value
|
||||
foreach ($users as $username) {
|
||||
$usernames[] = $username;
|
||||
|
||||
Reference in New Issue
Block a user