Can't switch back to online presence after turning invisible on

Description

In 2.7.x versions this worked fine, but in 2.8.x it is not possible to get back online. Spark shows green (or yellow if trying away) icon, but the other client still sees it as offline.

Environment

None

Activity

Show:
wroot
November 6, 2016, 10:35 AM
wroot
November 5, 2016, 4:28 PM

I saw it, just haven't had time to get to it.

speedy
November 5, 2016, 3:58 PM

Submiited pr

speedy
October 28, 2016, 8:58 PM

It looks like the issue might be with
org.jivesoftware.sparkimpl.plugin.privacy.PrivacyManager.java
It appears to always return "false", but I can't figure out why or how to fix it.

public boolean isGloballyInvisibleListActive() {
if (!_active)
return false;

try {
PrivacyList pl = privacyManager.getActiveList();
return pl != null && INVISIBLE_LIST_NAME.equalsIgnoreCase(pl.toString());
} catch (Exception e){
// it can return item-not-found if there is no active list.
// so it is fine to fall here.
Log.error("PrivacyManager#isGloballyInvisibleListActive: ", e);
}
return false;
}

speedy
October 27, 2016, 6:02 PM

I think this has to do with the spark privacy manager and privacy list. It appears the list is activated on going to invisible, but not deleted when coming out. Unfortunately, I can't seem to figure anything else out!

Fixed
Your pinned fields
Click on the next to a field label to start pinning.

Priority

Minor

Assignee

speedy

Reporter

wroot