mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-20 08:40:16 +01:00
Drop the GCM RECEIPT message type (unused).
This commit is contained in:
committed by
Jon Chambers
parent
10840b22c5
commit
50d7929e76
@@ -70,7 +70,6 @@ public class GCMSender implements Managed {
|
||||
String key;
|
||||
|
||||
switch (message.getType()) {
|
||||
case RECEIPT: key = "receipt"; break;
|
||||
case NOTIFICATION: key = "notification"; break;
|
||||
case CHALLENGE: key = "challenge"; break;
|
||||
default: throw new AssertionError();
|
||||
|
||||
@@ -7,7 +7,7 @@ import java.util.Optional;
|
||||
public class GcmMessage {
|
||||
|
||||
public enum Type {
|
||||
RECEIPT, NOTIFICATION, CHALLENGE
|
||||
NOTIFICATION, CHALLENGE
|
||||
}
|
||||
|
||||
private final String gcmId;
|
||||
|
||||
Reference in New Issue
Block a user