RosterListener’'s methods get XMPP addresses rather than RosterEntrys as parameters. For example,
could be called. Now the documentation of Roster.getEntry(address) claims that address can be in any valid format, including the above “foo@laptop/Smack”. However looking at the sourcecode of Roster.getEntry(), this seems to be incorrect: It just does a (case insensitive) String compare. Therefore,
will return null even if the roster contains an entry “foo@laptop”.
Also, I wonder how I should handle the RosterListener.entriesDeleted() event, as at that time I can’'t get the corresponding roster entries any more, can I?
Thanks in advance.