From 7cc11fb96e682e18208268e5255e39d084a567e5 Mon Sep 17 00:00:00 2001 From: Matt Tucker Date: Fri, 20 Jun 2003 02:18:34 +0000 Subject: [PATCH] Added getRoom method. git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1975 b35dd754-fafc-0310-a699-88a17e54d16e --- source/org/jivesoftware/smack/GroupChat.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/source/org/jivesoftware/smack/GroupChat.java b/source/org/jivesoftware/smack/GroupChat.java index 7d63f2143..cec292930 100644 --- a/source/org/jivesoftware/smack/GroupChat.java +++ b/source/org/jivesoftware/smack/GroupChat.java @@ -126,6 +126,15 @@ public class GroupChat { }, presenceFilter); } + /** + * Returns the name of the room this GroupChat object represents. + * + * @return the groupchat room name. + */ + public String getRoom() { + return room; + } + /** * Joins the chat room using the specified nickname. If already joined as * another nickname, will leave as that name first before joining under the new