powered by Jive Software

Reduce of contacts count while reconnect

When the Spark reconnects automatically itself no matter what reasons (network, server reboot, etc), The total count of contacts (including offlines) only equals with the online count of last time. But if we exit and relogin, it will be normal. Why and How to fix it?

fix it like this, add a line in the file

org.jivesoftware.spark.ui.ContactList.java .

public void clientReconnected() {
workspace.changeCardLayout(Workspace.WORKSPACE_PANE);

    offlineGroup = new ContactGroup(Res.getString("group.offline")); //added this line

buildContactList();

With what version of Spark do you get this?

2.6.0 beta 2 . get from svn trunk.

SPARK-1153