mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-26 20:47:58 +01:00
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:
parent
a226c20d84
commit
7cc11fb96e
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue