mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-12-23 13:07:59 +01:00
Added isJoined method (SMACK-86)
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2094 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
276c3191e2
commit
7f6f5a07a6
1 changed files with 10 additions and 0 deletions
|
@ -148,6 +148,16 @@ public class GroupChat {
|
||||||
join(nickname, 5000);
|
join(nickname, 5000);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Joins the chat room using the specified nickname. If already joined as
|
* 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
|
* another nickname, will leave as that name first before joining under the new
|
||||||
|
|
Loading…
Reference in a new issue