QuickBlox / q-municate-android

Qmunicate Android chat application
MIT License
254 stars 197 forks source link

Why Not Getting QMUser? #270

Closed sheikhrashid closed 6 years ago

sheikhrashid commented 6 years ago

QMUserService.getInstance().getUserCache().get((long)userId);

This was working fine. Suddenly it has stopped working and it is returning null. Please help me out.

tatanka987 commented 6 years ago

Try search changes in your code to localize this issue, in current Q-municate version it works fine. Maybe your cache don't contains user with this id or other ways.

sheikhrashid commented 6 years ago

It doesn't works first time as there is no cache there. By the way I have solved that by getting QMUser from different method.