lib/chatrix/components/state.rb
def handle_power_levels(event)
        content = event['content']
        @permissions.update content
        @users.process_power_levels @room, content['users']
      end
# Process a power level event.
# @param event [Hash] Event data.
Process a power level event.
Process a power level event .
def handle_power_levels(event)
        content = event['content']
        @permissions.update content
        @users.process_power_levels @room, content['users']
      end
def handle_power_levels ( event ) content = event [ 'content' ] @permissions . update content @users . process_power_levels @room , content [ 'users' ] end
Process a power level event.
Process a power level event .
event
None