Reply action with content only

This commit is contained in:
M66B 2019-05-06 07:36:11 +02:00
parent b34425ab8b
commit c5a569afe3
1 changed files with 1 additions and 1 deletions

View File

@ -1854,7 +1854,7 @@ class Core {
mbuilder.addAction(actionArchive.build());
}
if (notify_reply) {
if (notify_reply && message.content) {
Intent reply = new Intent(context, ServiceUI.class).setAction("reply:" + message.id);
PendingIntent piReply = PendingIntent.getService(context, ServiceUI.PI_REPLY, reply, PendingIntent.FLAG_UPDATE_CURRENT);
NotificationCompat.Action.Builder actionReply = new NotificationCompat.Action.Builder(