Hi all, How can I query ChatGroups using where clause to filter out Chat Groups participated by users who are not friends anymore. I successully get ids of current user friends and then I put them into an array. Then I tried this:
Cloud.Chats.getChatGroups({ where:{ participate_users:{id:{$in:friend_idsArr}} } },function (e) { if (e.success) { Ti.API.info(e); } else { alert('Error:\n' + ((e.error && e.message) || JSON.stringify(e))); } });How can I get it to work? To better understand the problem, you can think it like this: how can I get Chat Groups participated only by users from a list of ids?
Thank you very much!