mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 22:26:06 +02:00
Small improvement
This commit is contained in:
@@ -1788,10 +1788,6 @@ public class ServiceSynchronize extends LifecycleService {
|
||||
}
|
||||
|
||||
db.identity().setIdentityState(ident.id, "connected");
|
||||
db.identity().setIdentityError(ident.id, null);
|
||||
|
||||
NotificationManager nm = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
|
||||
nm.cancel("send", message.identity.intValue());
|
||||
|
||||
// Send message
|
||||
Address[] to = imessage.getAllRecipients();
|
||||
@@ -1799,6 +1795,11 @@ public class ServiceSynchronize extends LifecycleService {
|
||||
EntityLog.log(this, "Sent via " + ident.host + "/" + ident.user +
|
||||
" to " + TextUtils.join(", ", to));
|
||||
|
||||
db.identity().setIdentityError(ident.id, null);
|
||||
|
||||
NotificationManager nm = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
|
||||
nm.cancel("send", message.identity.intValue());
|
||||
|
||||
// Append replied/forwarded text
|
||||
if (message.replying != null || message.forwarding != null) {
|
||||
String html = message.read(this);
|
||||
|
||||
Reference in New Issue
Block a user