Sha256: 430fd5538c928ea160abb800066276f8a3f95d3d69fef2093421649cd872d778
Contents?: true
Size: 369 Bytes
Versions: 24
Compression:
Stored size: 369 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
24 entries across 24 versions & 2 rubygems