lib/onim/gui.rb
# Called whenever new message is received
Called whenever new message is received
Called whenever new message is received
def message_received(jid,text)
      debug "message received from #{jid}"
      window = message_window_for(jid)
      window.window.show
      debug "add msg"
      window.add_message(text)
    end
def message_received ( jid , text ) debug "message received from #{jid}" window = message_window_for ( jid ) window . window . show debug "add msg" window . add_message ( text ) end
Called whenever new message is received
Called whenever new message is received
jid
<not_specific>
text
<not_specific>