aboutsummaryrefslogtreecommitdiffstats
path: root/src/free/java
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2017-01-12 23:22:02 +0100
committerDaniel Gultsch <daniel@gultsch.de>2017-01-12 23:22:02 +0100
commit8e025cbb9eea8d9505141026731ce5c5184d123f (patch)
tree81d6c02c862cbb0a5e1ced05ce3161e1964061ab /src/free/java
parent1876b444fa6c8912e77debcc6f8dd0fc176602d8 (diff)
show doze warning when push is running on prosody
Diffstat (limited to 'src/free/java')
-rw-r--r--src/free/java/eu/siacs/conversations/services/PushManagementService.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/free/java/eu/siacs/conversations/services/PushManagementService.java b/src/free/java/eu/siacs/conversations/services/PushManagementService.java
index c6c5d232..ffce90b8 100644
--- a/src/free/java/eu/siacs/conversations/services/PushManagementService.java
+++ b/src/free/java/eu/siacs/conversations/services/PushManagementService.java
@@ -21,4 +21,8 @@ public class PushManagementService {
public boolean isStub() {
return true;
}
+
+ public boolean availableAndUseful(Account account) {
+ return false;
+ }
}