Update max message size after send

pull/212/head
M66B 1 year ago
parent c578708812
commit f2212e0e26

@ -830,7 +830,6 @@ public class ServiceSend extends ServiceBase implements SharedPreferences.OnShar
throw new IOException("Test");
db.identity().setIdentityState(ident.id, "connected");
if (ident.max_size == null)
max_size = iservice.getMaxSize();
List<Address> recipients = new ArrayList<>();
@ -961,7 +960,6 @@ public class ServiceSend extends ServiceBase implements SharedPreferences.OnShar
}
// Update identity
if (max_size != null)
db.identity().setIdentityMaxSize(ident.id, max_size);
db.identity().setIdentityConnected(ident.id, new Date().getTime());
db.identity().setIdentityError(ident.id, null);

Loading…
Cancel
Save