search for: get_buddi

Displaying 1 result from an estimated 1 matches for "get_buddi".

Did you mean: get_buddies
2009 Dec 24
0
can't return array object from worker
...t.auth(args[:password]) @client.send(Jabber::Presence.new.set_show(nil).set_status(''From Rails!'')) logger.info "Chat Connection status - #{@client.is_connected?}" return @client.is_connected? end def connected? return @client.is_connected? end def get_buddies if self.connected? @buddy_list = [] roster = Jabber::Roster::Helper.new(@client) mainthread = Thread.current roster.add_query_callback { |iq| mainthread.wakeup } Thread.stop roster.groups.each { |group| roster.find_by_group(group).eac...