Skip to content

Commit bc962b4

Browse files
author
Devendra
committed
notifications only for urgent messages
1 parent 3af4128 commit bc962b4

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

java/examples/src/com/pubnub/examples/PubnubTokenRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ public void start() {
191191
userMessage = reader.nextLine();
192192
JSONObject message = new JSONObject();
193193
try {
194-
if (command.equals("r")) {
194+
if (command.equals("p")) {
195195
message.put("action", "apns");
196196
}
197197
message.put("message", "New Message Available");

java/jars/PubnubTokenRequest.jar

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)