aboutsummaryrefslogtreecommitdiffstats
path: root/src/standard/java/de/pixart/messenger/services/PushManagementService.java
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2019-07-01 08:42:54 +0200
committerChristian Schneppe <christian@pix-art.de>2019-07-01 08:42:54 +0200
commit037932dc02ff27cd452cd37378aa66d0bfcd5d7f (patch)
tree4bb9f580df46f1b2f3520a58d470d9849cec555e /src/standard/java/de/pixart/messenger/services/PushManagementService.java
parent66a57e01292d576dc7df6480ad8f3fa9090094d5 (diff)
attempt to unregister when receiving push for channel no longer joined
when receiving a FCM push message for a channel the user is no longer in (this can happen when the disable command failed) an attempt will be made to explicitly unregister from the app server (which in turn will then send item-not-found on next push)
Diffstat (limited to 'src/standard/java/de/pixart/messenger/services/PushManagementService.java')
-rw-r--r--src/standard/java/de/pixart/messenger/services/PushManagementService.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/standard/java/de/pixart/messenger/services/PushManagementService.java b/src/standard/java/de/pixart/messenger/services/PushManagementService.java
index 0f11e3759..49d2589ba 100644
--- a/src/standard/java/de/pixart/messenger/services/PushManagementService.java
+++ b/src/standard/java/de/pixart/messenger/services/PushManagementService.java
@@ -18,6 +18,10 @@ public class PushManagementService {
//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
}