xmmp

Quickblox Javascript SDK + Angular + webRTC - Chat room filter by name is not showing up in results after creation by another user

淺唱寂寞╮ 提交于 2019-12-12 03:33:45
问题 I am adding a chat client to my webRTC app and my issue comes when a chat room doesn't exist. One user logs in and looks to see if the chat room exists with a certain name. If it doesn't exist the user creates one. Now here is where the issue comes in. The second user logs in with the same chat room name to search with and does a search with QB.chat.dialog.list({name: 'stringWithMyChatRoomName'}) but even after the first user had just created the room it doesn't get returned in the results. I