quickblox-javascript-sdk
                                
                                 quickblox-javascript-sdk copied to clipboard
                                
                                    quickblox-javascript-sdk copied to clipboard
                            
                            
                            
                        ContactList functionality not working correctly unless both users are online?
Steps to reproduce:
- 
Have User A online while User B is away and logged out. 
- 
User A Sends contact Request to B 
- 
Login to User B and call QB.chat.roster.get An empty object will be returned. during this stage only user A sees the QB.chat.roster.get payload correctly. 
- 
Restart the process but make sure both A and B are logged in this time. 
- 
User A sends the contact request 
- 
User B calls QB.chat.roster.get this time it will return the correct payload. 
As it seems, both users have to be online for the contact List connection to be created correctly.