Skip to content

Commit 05e9a42

Browse files
author
Devendra
committed
updated presence test jar to use production origin
1 parent 00fc84c commit 05e9a42

2 files changed

Lines changed: 1 addition & 6 deletions

File tree

‎java/examples/src/com/pubnub/examples/PubnubPresenceTest.java‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -129,11 +129,6 @@ void run() {
129129

130130
Pubnub listener = new Pubnub("", subkey);
131131
Pubnub actor = new Pubnub("",subkey, ssl);
132-
listener.setCacheBusting(false);
133-
actor.setCacheBusting(false);
134-
listener.setOrigin(origin);
135-
actor.setOrigin(origin);
136-
137132

138133
try {
139134
listener.presence(channels.get("channelA"), new Callback(){
@@ -285,7 +280,7 @@ public static void main(String[] args) {
285280
System.out.println("Skipping Test Due to Client Mismatch : " + clientStr);
286281
continue;
287282
}
288-
String origin = (server.equals("3.6"))?"presence-beta":"pubsub";
283+
String origin = "pubsub";
289284
String subkey = (String) ((JSONObject)(keysets.get(common.get("keyset")))).get("subKey") ;
290285
long time = new Date().getTime();
291286
String channelA = "A-java-" + i + 1 + "-" + time;

‎java/jars/PubnubPresenceTest.jar‎

86 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)