aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs/conversations/services
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2016-02-13 00:03:57 +0100
committerDaniel Gultsch <daniel@gultsch.de>2016-02-13 00:03:57 +0100
commitc7a14092a818262b8479a5bfff45c45689f6e755 (patch)
tree31e104a517bb0facb1c45568ef23a7c43219d88d /src/main/java/eu/siacs/conversations/services
parent6217e33a8766650c94014b4c436a29ac1372c795 (diff)
fixed compile bug in free version
Diffstat (limited to 'src/main/java/eu/siacs/conversations/services')
-rw-r--r--src/main/java/eu/siacs/conversations/services/XmppConnectionService.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java
index 69a59aa04..3ca235ef5 100644
--- a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java
+++ b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java
@@ -259,7 +259,7 @@ public class XmppConnectionService extends Service implements OnPhoneContactsLoa
fetchRosterFromServer(account);
fetchBookmarks(account);
sendPresence(account);
- if (mPushManagementService.pushAvailable(account)) {
+ if (mPushManagementService.available(account)) {
mPushManagementService.registerPushTokenOnServer(account);
}
mMessageArchiveService.executePendingQueries(account);
@@ -2856,7 +2856,7 @@ public class XmppConnectionService extends Service implements OnPhoneContactsLoa
private void refreshAllGcmTokens() {
for(Account account : getAccounts()) {
- if (account.isOnlineAndConnected() && mPushManagementService.pushAvailable(account)) {
+ if (account.isOnlineAndConnected() && mPushManagementService.available(account)) {
mPushManagementService.registerPushTokenOnServer(account);
}
}