fix dismiss single notification

This commit is contained in:
Kasun 2019-08-09 14:46:10 +05:30
parent 0ff62abed9
commit 57450b029d
1 changed files with 1 additions and 2 deletions

View File

@ -3081,8 +3081,7 @@ public class API {
if( notificationId == null)
action = "/notifications/clear";
else {
params.put("id",notificationId);
action = "/notifications/dismiss";
action = "/notifications/" + notificationId + "/dismiss";
}
try {
new HttpsConnection(context, this.instance).post(getAbsoluteUrl(action), 10, params, prefKeyOauthTokenT);