mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-23 06:31:17 +00:00
Send NOOP on notice: nice try
This commit is contained in:
parent
1dd8bcc02b
commit
466bd2d5f1
1 changed files with 3 additions and 0 deletions
|
@ -934,6 +934,9 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
||||||
if (e.getMessageType() == StoreEvent.NOTICE) {
|
if (e.getMessageType() == StoreEvent.NOTICE) {
|
||||||
EntityLog.log(ServiceSynchronize.this, account.name + " notice: " + message);
|
EntityLog.log(ServiceSynchronize.this, account.name + " notice: " + message);
|
||||||
|
|
||||||
|
// Store NOOP
|
||||||
|
//iservice.getStore().isConnected();
|
||||||
|
|
||||||
if ("Still here".equals(message) && !account.ondemand) {
|
if ("Still here".equals(message) && !account.ondemand) {
|
||||||
long now = new Date().getTime();
|
long now = new Date().getTime();
|
||||||
if (now - start < STILL_THERE_THRESHOLD)
|
if (now - start < STILL_THERE_THRESHOLD)
|
||||||
|
|
Loading…
Reference in a new issue