mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-10 09:39:39 +02:00
Updated handling of offline presence.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10916 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
b840bed4a6
commit
41733effe9
2 changed files with 18 additions and 2 deletions
|
@ -523,7 +523,7 @@ public class RosterTest extends SmackTestCase {
|
|||
Presence.Type.unavailable, presence.getType());
|
||||
|
||||
// Check that the returned presences are correct
|
||||
Iterator presences = roster.getPresences(getBareJID(1));
|
||||
Iterator<Presence> presences = roster.getPresences(getBareJID(1));
|
||||
int count = 0;
|
||||
while (presences.hasNext()) {
|
||||
count++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue