Commit 5f70db75 authored by Nicolas Fella's avatar Nicolas Fella

Don't send reply actions

They are already handles by another codepath
parent c2cd6077
......@@ -268,8 +268,8 @@ public class NotificationsPlugin extends Plugin implements NotificationReceiver.
actions.put(key, new LinkedList<>());
JSONArray jsonArray = new JSONArray();
for (Notification.Action action : notification.actions) {
if (null == action.title)
break;
if (null == action.title || (action.getRemoteInputs() != null && action.getRemoteInputs().length > 0))
continue;
jsonArray.put(action.title.toString());
actions.get(key).add(action);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment