mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-12-26 22:27:58 +01:00
Redundant
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6261 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
a58e1dd0a4
commit
c3aad4dec1
1 changed files with 2 additions and 2 deletions
|
@ -309,10 +309,10 @@ public class Roster implements ConnectionListener {
|
|||
*/
|
||||
private void setOfflinePresences() {
|
||||
Presence packetUnavailable;
|
||||
for (String user : new ArrayList<String>(presenceMap.keySet())) {
|
||||
for (String user : presenceMap.keySet()) {
|
||||
Map<String, Presence> resources = presenceMap.get(user);
|
||||
if (resources != null) {
|
||||
for (String resource : new ArrayList<String>(resources.keySet())) {
|
||||
for (String resource : resources.keySet()) {
|
||||
packetUnavailable = new Presence(Presence.Type.unavailable);
|
||||
packetUnavailable.setFrom(user + "/" + resource);
|
||||
presencePacket.processPacket(packetUnavailable);
|
||||
|
|
Loading…
Reference in a new issue