Fixing groups not showing.

git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@9040 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Derek DeMoro
2007-08-30 20:32:27 +00:00
committed by derek
parent 180062245b
commit a347598a58

View File

@ -265,7 +265,7 @@ public final class ContactList extends JPanel implements ActionListener, Contact
*
* @param presence the user to update.
*/
private void updateUserPresence(Presence presence) throws Exception {
private synchronized void updateUserPresence(Presence presence) throws Exception {
if (presence.getError() != null) {
// We ignore this.
return;
@ -1656,6 +1656,7 @@ public final class ContactList extends JPanel implements ActionListener, Contact
});
}
else {
try {
initialPresences.add(presence);
}
@ -1663,7 +1664,7 @@ public final class ContactList extends JPanel implements ActionListener, Contact
Log.error(e);
}
int numberOfMillisecondsInTheFuture = 500;
int numberOfMillisecondsInTheFuture = 1000;
presenceTimer.schedule(new TimerTask() {
public void run() {