mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
SPARK-1820 (#254)
This commit is contained in:
@ -472,7 +472,7 @@ public class PrivacyManager {
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
PrivacyList pl = privacyManager.getActiveList();
|
String pl = privacyManager.getActiveListName();
|
||||||
return pl != null && INVISIBLE_LIST_NAME.equalsIgnoreCase(pl.toString());
|
return pl != null && INVISIBLE_LIST_NAME.equalsIgnoreCase(pl.toString());
|
||||||
} catch (Exception e){
|
} catch (Exception e){
|
||||||
// it can return item-not-found if there is no active list.
|
// it can return item-not-found if there is no active list.
|
||||||
|
|||||||
Reference in New Issue
Block a user