diff options
author | Christian Schneppe <christian@pix-art.de> | 2016-11-11 23:09:35 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2016-11-11 23:09:35 +0100 |
commit | f215117a83744bafef9caf66ed16f7bbaea79e22 (patch) | |
tree | 86d4167d796100f319f547e07b2806f60d434e9f /src/main/java/de/pixart/messenger/services/XmppConnectionService.java | |
parent | d6ebb164d48c86f1662be973c368ebcaa1235115 (diff) |
brought restart threshold down to 8 times in 8h
Diffstat (limited to 'src/main/java/de/pixart/messenger/services/XmppConnectionService.java')
-rw-r--r-- | src/main/java/de/pixart/messenger/services/XmppConnectionService.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/services/XmppConnectionService.java b/src/main/java/de/pixart/messenger/services/XmppConnectionService.java index f0764b630..ca4018e71 100644 --- a/src/main/java/de/pixart/messenger/services/XmppConnectionService.java +++ b/src/main/java/de/pixart/messenger/services/XmppConnectionService.java @@ -3741,6 +3741,15 @@ public class XmppConnectionService extends Service { conversation.setBookmark(bookmark); } + public void clearStartTimeCounter() { + mDatabaseExecutor.execute(new Runnable() { + @Override + public void run() { + databaseBackend.clearStartTimeCounter(); + } + }); + } + public interface OnMamPreferencesFetched { void onPreferencesFetched(Element prefs); void onPreferencesFetchFailed(); |