aboutsummaryrefslogtreecommitdiffstats
path: root/src/piratx/java/de/pixart/messenger/services/PushManagementService.java
blob: b76f5b4deec644cc12e3356866fff63ef923e3c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package de.pixart.messenger.services;

import de.pixart.messenger.entities.Account;

public class PushManagementService {

    protected final XmppConnectionService mXmppConnectionService;

    public PushManagementService(XmppConnectionService service) {
        this.mXmppConnectionService = service;
    }

    public void registerPushTokenOnServer(Account account) {
        //stub implementation. only affects playstore flavor
    }

    public boolean available(Account account) {
        return false;
    }

    public boolean isStub() {
        return true;
    }
}