fix dismiss single notification
This commit is contained in:
parent
0ff62abed9
commit
57450b029d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue