commit - f162364437ccf4732ea55244030df14ed5b18a3a
commit + c74e0da29a9ba8b11c9c64e1d1ef039e028c0dd5
blob - 33aefea5289089213cc5b31868fc9f6e34beb72b
blob + 779296486a80e0d992b0fa298ac94ae00e0f333b
--- mastodon/src/main/java/org/joinmastodon/android/api/requests/notifications/GetNotifications.java
+++ mastodon/src/main/java/org/joinmastodon/android/api/requests/notifications/GetNotifications.java
package org.joinmastodon.android.api.requests.notifications;
+import android.util.Log;
+
import com.google.gson.reflect.TypeToken;
import org.joinmastodon.android.api.ApiUtils;
}
}else{
for(String type:ApiUtils.enumSetToStrings(includeTypes, Notification.Type.class)){
- addQueryParameter("include_types[]", type);
+ // pleroma does not support admin.sign_up and admin.report
+ if(type != "admin.sign_up" && type != "admin.report"){
+ addQueryParameter("include_types[]", type);
+ }
}
}
}