|
|
@@ -57,7 +57,8 @@ class LNRoomInviteSeatPanel: LNPopupView {
|
|
|
extension LNRoomInviteSeatPanel {
|
|
|
private func loadList() {
|
|
|
guard let roomSession else { return }
|
|
|
- roomSession.getRoomUserList(next: nextTag, playmete: false, filter: nil) { [weak self] res in
|
|
|
+ roomSession.getRoomUserList(next: nextTag, playmete: curSeat?.index != .guest, filter: curCategoryCode)
|
|
|
+ { [weak self] res in
|
|
|
guard let self else { return }
|
|
|
if let list = res?.list {
|
|
|
if nextTag == nil {
|
|
|
@@ -214,6 +215,9 @@ private extension LNRoomInviteSeatPanel {
|
|
|
curCategoryCode = option.code
|
|
|
curCategoryTitle = option.code.isEmpty ? .init(key: "A00361") : option.name
|
|
|
updateFilterView()
|
|
|
+
|
|
|
+ nextTag = nil
|
|
|
+ tableView.mj_header?.beginRefreshing()
|
|
|
}
|
|
|
panel.popup(self)
|
|
|
}), for: .touchUpInside)
|