mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-22 06:12:05 +01:00
Try that Roster is loaded after Roster.getInstaceFor(XMPPConnection)
Fixes SMACK-633
This commit is contained in:
parent
001e824fb9
commit
8dd12e7220
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue