diff options
Diffstat (limited to 'src/git/java/de/pixart/messenger/services/PushManagementService.java')
-rw-r--r-- | src/git/java/de/pixart/messenger/services/PushManagementService.java | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/git/java/de/pixart/messenger/services/PushManagementService.java b/src/git/java/de/pixart/messenger/services/PushManagementService.java new file mode 100644 index 000000000..9d4673fd3 --- /dev/null +++ b/src/git/java/de/pixart/messenger/services/PushManagementService.java @@ -0,0 +1,37 @@ +package de.pixart.messenger.services; + +import de.pixart.messenger.entities.Account; +import de.pixart.messenger.entities.Conversation; + +public class PushManagementService { + + protected final XmppConnectionService mXmppConnectionService; + + public PushManagementService(XmppConnectionService service) { + this.mXmppConnectionService = service; + } + + void registerPushTokenOnServer(Account account) { + //stub implementation. only affects playstore flavor + } + + void registerPushTokenOnServer(Conversation conversation) { + //stub implementation. only affects playstore flavor + } + + void unregisterChannel(Account account, String hash) { + //stub implementation. only affects playstore flavor + } + + void disablePushOnServer(Conversation conversation) { + //stub implementation. only affects playstore flavor + } + + public boolean available(Account account) { + return false; + } + + public boolean isStub() { + return true; + } +} |