mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-04 03:43:55 +01:00
Reply action with content only
This commit is contained in:
@@ -1854,7 +1854,7 @@ class Core {
|
|||||||
mbuilder.addAction(actionArchive.build());
|
mbuilder.addAction(actionArchive.build());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (notify_reply) {
|
if (notify_reply && message.content) {
|
||||||
Intent reply = new Intent(context, ServiceUI.class).setAction("reply:" + message.id);
|
Intent reply = new Intent(context, ServiceUI.class).setAction("reply:" + message.id);
|
||||||
PendingIntent piReply = PendingIntent.getService(context, ServiceUI.PI_REPLY, reply, PendingIntent.FLAG_UPDATE_CURRENT);
|
PendingIntent piReply = PendingIntent.getService(context, ServiceUI.PI_REPLY, reply, PendingIntent.FLAG_UPDATE_CURRENT);
|
||||||
NotificationCompat.Action.Builder actionReply = new NotificationCompat.Action.Builder(
|
NotificationCompat.Action.Builder actionReply = new NotificationCompat.Action.Builder(
|
||||||
|
|||||||
Reference in New Issue
Block a user