Browse Source

fix kickout

stanley-king 6 năm trước cách đây
mục cha
commit
eaa6c553ed
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      helper/room/base_room.php

+ 2 - 0
helper/room/base_room.php

@@ -77,8 +77,10 @@ abstract class base_room
         return count($this->mParticipants);
     }
 
+    //返回被删除的所有userid 数组
     public function kickout($manager,$users)
     {
+        $this->clear();
         $fAdmin = $this->mRoomInfo->isAdmin($manager);
         if($fAdmin == false) return false;