aboutsummaryrefslogtreecommitdiffstats
path: root/src/playstore/java/de/pixart/messenger/services
diff options
context:
space:
mode:
Diffstat (limited to 'src/playstore/java/de/pixart/messenger/services')
-rw-r--r--src/playstore/java/de/pixart/messenger/services/PushManagementService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/playstore/java/de/pixart/messenger/services/PushManagementService.java b/src/playstore/java/de/pixart/messenger/services/PushManagementService.java
index 701eea6d2..30d3f1769 100644
--- a/src/playstore/java/de/pixart/messenger/services/PushManagementService.java
+++ b/src/playstore/java/de/pixart/messenger/services/PushManagementService.java
@@ -101,7 +101,7 @@ public class PushManagementService {
public boolean available(Account account) {
final XmppConnection connection = account.getXmppConnection();
- return connection != null && connection.getFeatures().push() && playServicesAvailable();
+ return connection != null && connection.getFeatures().sm() && connection.getFeatures().push() && playServicesAvailable();
}
public boolean availableAndUseful(Account account) {