lib/onim/engine.rb
# Sends a message
# jid - recipient's jid
# text - message text
# message will be received as a jabber chat message
Sends a message
jid - recipient's jid
text - message text
message will be received as a jabber chat message
Sends a message jid - recipient ' s jid text - message text message will be received as a jabber chat message
def send_message(jid,text)
      m = Jabber::Message.new(jid, text)
      m.set_type :chat
      @client.send m
    end
def send_message ( jid , text ) m = Jabber :: Message . new ( jid , text ) m . set_type :chat @client . send m end
Sends a message
jid - recipient's jid
text - message text
message will be received as a jabber chat message
Sends a message jid - recipient ' s jid text - message text message will be received as a jabber chat message
jid
<not_specific>
text
<not_specific>