mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
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:
@ -265,7 +265,7 @@ public final class ContactList extends JPanel implements ActionListener, Contact
|
|||||||
*
|
*
|
||||||
* @param presence the user to update.
|
* @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) {
|
if (presence.getError() != null) {
|
||||||
// We ignore this.
|
// We ignore this.
|
||||||
return;
|
return;
|
||||||
@ -1656,6 +1656,7 @@ public final class ContactList extends JPanel implements ActionListener, Contact
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
initialPresences.add(presence);
|
initialPresences.add(presence);
|
||||||
}
|
}
|
||||||
@ -1663,7 +1664,7 @@ public final class ContactList extends JPanel implements ActionListener, Contact
|
|||||||
Log.error(e);
|
Log.error(e);
|
||||||
}
|
}
|
||||||
|
|
||||||
int numberOfMillisecondsInTheFuture = 500;
|
int numberOfMillisecondsInTheFuture = 1000;
|
||||||
|
|
||||||
presenceTimer.schedule(new TimerTask() {
|
presenceTimer.schedule(new TimerTask() {
|
||||||
public void run() {
|
public void run() {
|
||||||
|
|||||||
Reference in New Issue
Block a user