Try that Roster is loaded after Roster.getInstaceFor(XMPPConnection)

Fixes SMACK-633
This commit is contained in:
Florian Schmaus 2015-05-15 17:02:52 +02:00
parent 001e824fb9
commit 8dd12e7220
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ public final class Roster extends Manager {
// If the connection is already established, call reload
if (connection.isAuthenticated()) {
try {
reload();
reloadAndWait();
}
catch (InterruptedException | SmackException e) {
LOGGER.log(Level.SEVERE, "Could not reload Roster", e);