mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-22 22:32: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:
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.
|
* 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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue