Added getRoom method.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1975 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Matt Tucker 2003-06-20 02:18:34 +00:00 committed by mtucker
parent a226c20d84
commit 7cc11fb96e
1 changed files with 9 additions and 0 deletions

View File

@ -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