Method: Flapjack::Gateways::Jabber::Bot#_deactivate

Defined in:
lib/flapjack/gateways/jabber.rb

#_deactivate(muc_clients) ⇒ Object



803
804
805
806
807
# File 'lib/flapjack/gateways/jabber.rb', line 803

def _deactivate(muc_clients)
  # send method has been overridden in MUCClient class
  # without this MUC clients will still think they are active
  muc_clients.values.each {|muc_client| muc_client.__send__(:deactivate) }
end