lib/onim/base.rb
# called whon contact status is changing
called whon contact status is changing
called whon contact status is changing
def item_presence_change(jid,presence,status)
      debug("item presence change: #{jid} | #{presence} | #{status}")      
      pure_jid, resource = jid.split('/')
      item = @roster[pure_jid]
      item.update_presence(resource,presence,status)
      @gui.item_update item
    end
def item_presence_change ( jid , presence , status ) debug ( "item presence change: #{jid} | #{presence} | #{status}" ) pure_jid , resource = jid . split ( '/' ) item = @roster [ pure_jid ] item . update_presence ( resource , presence , status ) @gui . item_update item end
called whon contact status is changing
called whon contact status is changing
jid
<not_specific>
presence
<not_specific>
status
<not_specific>