diff --git a/smack-extensions/src/main/java/org/jivesoftware/smackx/pep/PEPManager.java b/smack-extensions/src/main/java/org/jivesoftware/smackx/pep/PEPManager.java index 6c3a70b63..cd9ce58d2 100644 --- a/smack-extensions/src/main/java/org/jivesoftware/smackx/pep/PEPManager.java +++ b/smack-extensions/src/main/java/org/jivesoftware/smackx/pep/PEPManager.java @@ -57,7 +57,7 @@ import org.jxmpp.jid.EntityBareJid; * Use example: * *
- * PEPManager pepManager = new PEPManager(smackConnection); + * PEPManager pepManager = PEPManager.getInstanceFor(smackConnection); * pepManager.addPEPListener(new PEPListener() { * public void eventReceived(EntityBareJid from, EventElement event, Message message) { * LOGGER.debug("Event received: " + event);