mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-22 00:43:26 +02:00
Cleanup
This commit is contained in:
@@ -442,7 +442,7 @@ public class ServiceSend extends ServiceBase {
|
||||
|
||||
long now = new Date().getTime();
|
||||
long delayed = now - message.last_attempt;
|
||||
if (delayed > IDENTITY_ERROR_AFTER * 60 * 1000L || ex instanceof SendFailedException) {
|
||||
if (delayed > IDENTITY_ERROR_AFTER * 60 * 1000L) {
|
||||
Log.i("Reporting send error after=" + delayed);
|
||||
NotificationManager nm = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
|
||||
nm.notify("send:" + message.identity, 1,
|
||||
|
||||
Reference in New Issue
Block a user