Hello everyone, found a bug in roster, if you create entry without group method getEntries() returns old values. Same problem was in 8.10.
Users without group:
roster1.createEntry(user2, "videoChatUser2", null);
roster2.createEntry(user1, "videoChatUser1", null);
D/Roster﹕ roster1.entriesUpdated 18552-438@chatstage.quickblox.com type=none status=subscribe
D/Roster﹕ roster2.entriesUpdated 18551-438@chatstage.quickblox.com type=none status=subscribe
D/Roster﹕ roster2.entriesUpdated 18551-438@chatstage.quickblox.com type=from status=subscribe
D/Roster﹕ roster1.entriesUpdated 18552-438@chatstage.quickblox.com type=to status=null
D/Roster﹕ roster2.entriesUpdated 18551-438@chatstage.quickblox.com type=both status=null
D/Roster﹕ roster1.entriesUpdated 18552-438@chatstage.quickblox.com type=both status=null
getEntries() and print them:
D/Roster﹕ 18552-438@chatstage.quickblox.com type=none status=null
D/Roster﹕ 18551-438@chatstage.quickblox.com type=none status=null
Users with group:
roster1.createEntry(user2, "videoChatUser2", new String[]{"group"});
roster2.createEntry(user1, "videoChatUser1", new String[]{"group"});
D/Roster﹕ roster1.entriesUpdated 18552-438@chatstage.quickblox.com type=none status=subscribe
D/Roster﹕ roster2.entriesUpdated 18551-438@chatstage.quickblox.com type=none status=subscribe
D/Roster﹕ roster2.entriesUpdated 18551-438@chatstage.quickblox.com type=from status=subscribe
D/Roster﹕ roster1.entriesUpdated 18552-438@chatstage.quickblox.com type=to status=null
D/Roster﹕ roster1.entriesUpdated 18552-438@chatstage.quickblox.com type=both status=null
D/Roster﹕ roster2.entriesUpdated 18551-438@chatstage.quickblox.com type=both status=null
getEntries() and print them:
D/Roster﹕ 18552-438@chatstage.quickblox.com type=both status=null
D/Roster﹕ 18551-438@chatstage.quickblox.com type=both status=null