Sha256: 0fd8a2ec9599b0baf0ce352036d41bc27a5e1b36b0b70dbf99d3284b822a1ae5
Contents?: true
Size: 371 Bytes
Versions: 57
Compression:
Stored size: 371 Bytes
Contents
module XmppHelper def getChatContacts connected_users = [] #Get bidirectional contacts contacts = current_user.contact_actors(:type=>:user) #Apply filters contacts.each do |contact| if contact.user.connected connected_users << contact.user end end return connected_users end end
Version data entries
57 entries across 57 versions & 3 rubygems