diff options
author | Christian Schneppe <christian@pix-art.de> | 2017-11-21 20:38:36 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2017-11-21 20:38:36 +0100 |
commit | 9a71771d880a971aae9a574ce4cdfbeaa8360cb7 (patch) | |
tree | 8e413c1c95a6d41b18aa920c0c03ebd5513489ff /src/standardPush/java | |
parent | 6b44d7c2a900c9165415665a06cdf979370abd5b (diff) |
remove prosody push from blacklist
Diffstat (limited to 'src/standardPush/java')
-rw-r--r-- | src/standardPush/java/de/pixart/messenger/services/MaintenanceReceiver.java | 2 | ||||
-rw-r--r-- | src/standardPush/java/de/pixart/messenger/services/PushManagementService.java | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/src/standardPush/java/de/pixart/messenger/services/MaintenanceReceiver.java b/src/standardPush/java/de/pixart/messenger/services/MaintenanceReceiver.java index 5cfcbe920..6625a0f99 100644 --- a/src/standardPush/java/de/pixart/messenger/services/MaintenanceReceiver.java +++ b/src/standardPush/java/de/pixart/messenger/services/MaintenanceReceiver.java @@ -9,7 +9,7 @@ import com.google.android.gms.iid.InstanceID; import java.io.IOException; -import eu.siacs.conversations.Config; +import de.pixart.messenger.Config; public class MaintenanceReceiver extends BroadcastReceiver { @Override diff --git a/src/standardPush/java/de/pixart/messenger/services/PushManagementService.java b/src/standardPush/java/de/pixart/messenger/services/PushManagementService.java index f30bfae46..c9c252501 100644 --- a/src/standardPush/java/de/pixart/messenger/services/PushManagementService.java +++ b/src/standardPush/java/de/pixart/messenger/services/PushManagementService.java @@ -105,10 +105,6 @@ public class PushManagementService { return connection != null && connection.getFeatures().sm() && connection.getFeatures().push() && playServicesAvailable(); } - public boolean availableAndUseful(Account account) { - return Patches.SUFFICIENT_PUSH.contains(account.getServerIdentity()) && available(account); - } - private boolean playServicesAvailable() { return GoogleApiAvailability.getInstance().isGooglePlayServicesAvailable(mXmppConnectionService) == ConnectionResult.SUCCESS; } |