quickblox-javascript-sdk icon indicating copy to clipboard operation
quickblox-javascript-sdk copied to clipboard

ContactList functionality not working correctly unless both users are online?

Open BertoGz opened this issue 2 years ago • 0 comments

Steps to reproduce:

  1. Have User A online while User B is away and logged out.

  2. User A Sends contact Request to B

  3. 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.

  4. Restart the process but make sure both A and B are logged in this time.

  5. User A sends the contact request

  6. 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.

BertoGz avatar Nov 07 '22 16:11 BertoGz