class Meshchat::Ui::Command::AllChatLock

Public Class Methods

description() click to toggle source
# File lib/meshchat/ui/command/all_chat_lock.rb, line 6
def self.description
  'sets the current chat to the "All Chat"'
end

Public Instance Methods

handle() click to toggle source
# File lib/meshchat/ui/command/all_chat_lock.rb, line 10
def handle
  return unless _input_factory._whisper_lock_target
  Display.info 'whisper lock disabled'
  _input_factory.clear_whisper_lock
end