Make bundle repository a system bundle and fix jabber tests.

cusax-fix
Damian Minkov 16 years ago
parent 2ca42660f6
commit 40b2a3a610

@ -1040,9 +1040,7 @@ public void run()
responsePacket.setTo(fromID);
parentProvider.getConnection().sendPacket(responsePacket);
}
}
).start();
}}).start();
}
else if (presenceType == Presence.Type.unsubscribed)
{

@ -886,26 +886,29 @@ public void entriesAdded(Collection<String> addresses)
ContactJabberImpl contact =
findContactById(entry.getUser());
if(contact != null && contact.isPersistent())
if(contact != null)
{
contact.setResolved(entry);
continue;
}
else
{
ContactGroup oldParentGroup =
contact.getParentContactGroup();
// if contact is in not in contact list
// we must remove it from there in order to correctlly
// process adding contact
// this happens if we accept subscribe request
// not from sip-communicator
if(oldParentGroup instanceof ContactGroupJabberImpl
&& !oldParentGroup.isPersistent())
if(contact.isPersistent())
{
contact.setResolved(entry);
continue;
}
else
{
((ContactGroupJabberImpl)oldParentGroup)
.removeContact(contact);
fireContactRemoved(oldParentGroup, contact);
ContactGroup oldParentGroup =
contact.getParentContactGroup();
// if contact is in not in contact list
// we must remove it from there in order to correctlly
// process adding contact
// this happens if we accept subscribe request
// not from sip-communicator
if(oldParentGroup instanceof ContactGroupJabberImpl
&& !oldParentGroup.isPersistent())
{
((ContactGroupJabberImpl)oldParentGroup)
.removeContact(contact);
fireContactRemoved(oldParentGroup, contact);
}
}
}
contact = new ContactJabberImpl(roster.getEntry(id),

Loading…
Cancel
Save