Send NOOP on notice: nice try

This commit is contained in:
M66B 2020-10-10 20:31:40 +02:00
parent 1dd8bcc02b
commit 466bd2d5f1
1 changed files with 3 additions and 0 deletions

View File

@ -934,6 +934,9 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
if (e.getMessageType() == StoreEvent.NOTICE) {
EntityLog.log(ServiceSynchronize.this, account.name + " notice: " + message);
// Store NOOP
//iservice.getStore().isConnected();
if ("Still here".equals(message) && !account.ondemand) {
long now = new Date().getTime();
if (now - start < STILL_THERE_THRESHOLD)