mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-24 03:27:59 +01:00
Added TODO items.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1860 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
f322df6671
commit
09935d03b7
1 changed files with 6 additions and 3 deletions
|
@ -107,11 +107,14 @@ public class Roster {
|
|||
/**
|
||||
* Cretaes a new roster entry.
|
||||
*
|
||||
* @param user
|
||||
* @param name
|
||||
* @return
|
||||
* @param user the user.
|
||||
* @param name the nickname of the user.
|
||||
* @return a new roster entry.
|
||||
*/
|
||||
public RosterEntry createEntry(String user, String name) {
|
||||
// TODO: need to send a subscribe packet if we haven't already subscibed to
|
||||
// TODO: the user. If we have already subscribed to the user, this method shoul
|
||||
// TODO: probably return an existing roster entry object.
|
||||
return new RosterEntry(user, name, connection);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue