Conversations/src/free/java/eu/siacs/conversations/services/PushManagementService.java

34 lines
765 B
Java
Raw Normal View History

package eu.siacs.conversations.services;
import eu.siacs.conversations.entities.Account;
2019-06-25 18:15:51 +02:00
import eu.siacs.conversations.entities.Conversation;
public class PushManagementService {
protected final XmppConnectionService mXmppConnectionService;
public PushManagementService(XmppConnectionService service) {
this.mXmppConnectionService = service;
}
2019-06-25 18:15:51 +02:00
void registerPushTokenOnServer(Account account) {
//stub implementation. only affects playstore flavor
}
void unregisterChannel(Account account, String hash) {
//stub implementation. only affects playstore flavor
}
2016-02-13 00:03:57 +01:00
public boolean available(Account account) {
return false;
}
public boolean isStub() {
return true;
}
public boolean availableAndUseful(Account account) {
return false;
}
}