             switch response {
             case .success:
                 self.itemDataList = self.itemDataList.filter { $0.childInfo.childRoomId != roomId }
-                self.update(viewState: .loaded(self.filteredItemDataList, self.nextBatch != nil && (self.searchKeyword ?? "").isEmpty))
+                self.update(viewState: .loaded(self.filteredItemDataList, self.hasMore))
             case .failure(let error):
                 self.update(viewState: .error(error))
             }

        if let spaceRoom = self.spaceRoom {
            spaceRoom.state { roomState in
                self.powerLevels = roomState?.powerLevels
                self.oneSelfPowerLevel = self.powerLevels?.powerLevelOfUser(withUserID: self.session.myUserId)
                
            }
        }

            guard let self = self else { return }
            switch response {
            case .success:
                self.update(viewState: .loaded(self.filteredItemDataList, self.hasMore))
            case .failure(let error):
                self.update(viewState: .error(error))
            }
