Suppress warning if roster isn't set to load

automatically.
This commit is contained in:
Florian Schmaus 2015-09-07 09:31:51 +02:00
parent aa832ec1f0
commit 23b7626c18
1 changed files with 1 additions and 1 deletions

View File

@ -1195,7 +1195,7 @@ public class Roster extends Manager {
} }
} }
if (!isLoaded()) { if (!isLoaded() && rosterLoadedAtLogin) {
LOGGER.warning("Roster not loaded while processing presence stanza"); LOGGER.warning("Roster not loaded while processing presence stanza");
} }
final XMPPConnection connection = connection(); final XMPPConnection connection = connection();