From 049ca8975e584794beb5f6f97888049d302789a2 Mon Sep 17 00:00:00 2001 From: Alex Wenckus Date: Tue, 5 Jun 2007 04:38:29 +0000 Subject: [PATCH] Added note in JavaDoc that the ChatStateManager#getInstace need be called in order to receive chat state notifications. git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@8458 b35dd754-fafc-0310-a699-88a17e54d16e --- source/org/jivesoftware/smackx/ChatStateManager.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/org/jivesoftware/smackx/ChatStateManager.java b/source/org/jivesoftware/smackx/ChatStateManager.java index 212e52e0b..70d07fef9 100644 --- a/source/org/jivesoftware/smackx/ChatStateManager.java +++ b/source/org/jivesoftware/smackx/ChatStateManager.java @@ -38,6 +38,10 @@ import java.util.WeakHashMap; * packet extensions and the disco response neccesary for compliance with * XEP-0085. * + * NOTE: {@link org.jivesoftware.smackx.ChatStateManager#getInstance(org.jivesoftware.smack.XMPPConnection)} + * needs to be called in order for the listeners to be registered appropriately with the connection. + * If this does not occur you will not receive the update notifications. + * * @author Alexander Wenckus * @see org.jivesoftware.smackx.ChatState * @see org.jivesoftware.smackx.packet.ChatStateExtension