fixed friends hide with birthday
This commit is contained in:
@@ -100,7 +100,8 @@ public class JsonInjectors{
|
||||
|
||||
public static JSONObject friends(JSONObject json) throws JSONException{
|
||||
JSONObject catalog = json;
|
||||
Boolean sectionexecute = true;
|
||||
boolean sectionexecute = true;
|
||||
boolean hasBirthday = false;
|
||||
|
||||
if (json.optJSONObject("catalog") != null) {
|
||||
catalog = json.optJSONObject("catalog");
|
||||
@@ -138,6 +139,15 @@ public class JsonInjectors{
|
||||
skip = friendsblock();
|
||||
}
|
||||
|
||||
if (buttons.contains("friends_birthdays_list")){
|
||||
hasBirthday = true;
|
||||
}
|
||||
|
||||
if (name.contains("separator") && hasBirthday){
|
||||
skip = false;
|
||||
hasBirthday = false;
|
||||
}
|
||||
|
||||
if (!skip) {
|
||||
newItems.put(type);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user