     @available(iOS 13.0, *)
     func contextMenu(for itemData: SpaceExploreRoomListItemViewData) -> UIMenu {
         let canSendSpaceStateEvents: Bool
-        if let powerLevels = self.powerLevels, let oneSelfPowerLevel = self.oneSelfPowerLevel {
+        if let powerLevels = self.powerLevels, let powerLevelOfCurrentUser = self.powerLevelOfCurrentUser {
             let minimumPowerLevel = powerLevels.minimumPowerLevel(forNotifications: kMXEventTypeStringRoomJoinRules, defaultPower: powerLevels.stateDefault)
-            canSendSpaceStateEvents = oneSelfPowerLevel >= minimumPowerLevel
+            canSendSpaceStateEvents = powerLevelOfCurrentUser >= minimumPowerLevel
         } else {
             canSendSpaceStateEvents = false
         }

            guard let self = self else { return }
            switch response {
            case .success:
                self.update(viewState: .loaded(self.filteredItemDataList, self.nextBatch != nil && (self.searchKeyword ?? "").isEmpty))
            case .failure(let error):
                self.update(viewState: .error(error))
            }

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