1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-02 14:55:58 +01:00

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

View file

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