From 1ba31fd633ebb07b160c84a73c3cdf47401d0d9e Mon Sep 17 00:00:00 2001 From: Matt Tucker Date: Thu, 25 Sep 2003 16:17:39 +0000 Subject: [PATCH] Adding back isJoined method, which got deleted somehow... git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2107 b35dd754-fafc-0310-a699-88a17e54d16e --- source/org/jivesoftware/smack/GroupChat.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/source/org/jivesoftware/smack/GroupChat.java b/source/org/jivesoftware/smack/GroupChat.java index e3e639f5d..b4cd4fcf3 100644 --- a/source/org/jivesoftware/smack/GroupChat.java +++ b/source/org/jivesoftware/smack/GroupChat.java @@ -198,6 +198,16 @@ public class GroupChat { joined = true; } + /** + * Returns true if currently in the group chat (after calling the {@link + * #join(String)} method. + * + * @return true if currently in the group chat room. + */ + public boolean isJoined() { + return joined; + } + /** * Leave the chat room. */