Sitelet https://github.com/3beer/java/commit/478eeada6e5dbea352ba77d29f671461becffb67
Skip to content

Commit 478eead

Browse files
author
Devendra
committed
modifying demo console jar
1 parent b71173d commit 478eead

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,9 @@ public void errorCallback(String channel, PubnubError error) {
203203

204204
private void hereNow(String channel) {
205205
boolean metadata = getBooleanFromConsole("Metadata");
206-
boolean disable_uuids = getBooleanFromConsole("Disable UUIDs");
206+
boolean uuids = getBooleanFromConsole("Return UUIDs");
207207

208-
pubnub.hereNow(channel, metadata, disable_uuids, new Callback() {
208+
pubnub.hereNow(channel, metadata, uuids, new Callback() {
209209
@Override
210210
public void successCallback(String channel, Object message) {
211211
notifyUser("HERE NOW : " + message);
@@ -715,7 +715,7 @@ public void errorCallback(String channel, PubnubError error) {
715715

716716
private void setState() {
717717
boolean isGroup = getBooleanFromConsole("Group");
718-
if (isGroup) {
718+
if (!isGroup) {
719719
String channel = getStringFromConsole("Channel");
720720
String uuid = getStringFromConsole("UUID", true);
721721
if (uuid == null || uuid.length() == 0) uuid = pubnub.getUUID();

‎java/jars/PubnubDemoConsole.jar‎

1.31 KB
Binary file not shown.

0 commit comments

Comments
 (0)