mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 14:46:31 +02:00
Prevent multiple sends
This commit is contained in:
@@ -458,8 +458,10 @@ public class ServiceUI extends IntentService {
|
||||
|
||||
if (EntityFolder.OUTBOX.equals(folder.type)) {
|
||||
Log.i("Delayed send id=" + message.id);
|
||||
db.message().setMessageSnoozed(message.id, null);
|
||||
EntityOperation.queue(this, message, EntityOperation.SEND);
|
||||
if (message.ui_snoozed != null) {
|
||||
db.message().setMessageSnoozed(message.id, null);
|
||||
EntityOperation.queue(this, message, EntityOperation.SEND);
|
||||
}
|
||||
} else {
|
||||
if (folder.notify) {
|
||||
// A new message ID is needed for a new (wearable) notification
|
||||
|
||||
Reference in New Issue
Block a user