1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-26 14:02:06 +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:
Matt Tucker 2003-03-27 16:01:57 +00:00 committed by mtucker
parent f322df6671
commit 09935d03b7

View file

@ -107,11 +107,14 @@ public class Roster {
/** /**
* Cretaes a new roster entry. * Cretaes a new roster entry.
* *
* @param user * @param user the user.
* @param name * @param name the nickname of the user.
* @return * @return a new roster entry.
*/ */
public RosterEntry createEntry(String user, String name) { 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); return new RosterEntry(user, name, connection);
} }