lib/onim/gui.rb
# Returns handle for window with chat for given jid
# creates window if it does not exist yet
Returns handle for window with chat for given jid
creates window if it does not exist yet
Returns handle for window with chat for given jid creates window if it does not exist yet
def message_window_for(jid)
      unless @message_windows[jid]
        debug "creating new message window"
        debug "jid: #{jid} contact: [#{@base.roster[jid]}]"
        @message_windows[jid] = Message.new self, @base.roster[jid]
        debug "oooooo"
      end      
      @message_windows[jid]
    end
def message_window_for ( jid ) unless @message_windows [ jid ] debug "creating new message window" debug "jid: #{jid} contact: [#{@base.roster[jid]}]" @message_windows [ jid ] = Message . new self , @base . roster [ jid ] debug "oooooo" end @message_windows [ jid ] end
Returns handle for window with chat for given jid
creates window if it does not exist yet
Returns handle for window with chat for given jid creates window if it does not exist yet
jid
<not_specific>