Skip to content

Commit 61476ef

Browse files
author
Devendra
committed
renaming disable_uuids
1 parent 5439054 commit 61476ef

20 files changed

Lines changed: 130 additions & 130 deletions

File tree

‎core/pubnub-common.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -897,11 +897,11 @@ function PN_API(setup) {
897897
, auth_key = args['auth_key'] || AUTH_KEY
898898
, channel = args['channel']
899899
, jsonp = jsonp_cb()
900-
, disable_uuids = args['disable_uuids']
901-
, state = args['state']
900+
, uuids = args['uuids'] || true
901+
, state = args['state']
902902
, data = { 'uuid' : UUID, 'auth' : auth_key };
903903

904-
if (disable_uuids) data['disable_uuids'] = 1;
904+
if (!uuids) data['disable_uuids'] = 1;
905905
if (state) data['metadata'] = 1;
906906

907907
// Make sure we have a Channel

‎modern/pubnub.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -898,11 +898,11 @@ function PN_API(setup) {
898898
, auth_key = args['auth_key'] || AUTH_KEY
899899
, channel = args['channel']
900900
, jsonp = jsonp_cb()
901-
, disable_uuids = args['disable_uuids']
902-
, state = args['state']
901+
, uuids = args['uuids'] || true
902+
, state = args['state']
903903
, data = { 'uuid' : UUID, 'auth' : auth_key };
904904

905-
if (disable_uuids) data['disable_uuids'] = 1;
905+
if (!uuids) data['disable_uuids'] = 1;
906906
if (state) data['metadata'] = 1;
907907

908908
// Make sure we have a Channel

‎modern/pubnub.min.js‎

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎node.js/pubnub.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -898,11 +898,11 @@ function PN_API(setup) {
898898
, auth_key = args['auth_key'] || AUTH_KEY
899899
, channel = args['channel']
900900
, jsonp = jsonp_cb()
901-
, disable_uuids = args['disable_uuids']
902-
, state = args['state']
901+
, uuids = args['uuids'] || true
902+
, state = args['state']
903903
, data = { 'uuid' : UUID, 'auth' : auth_key };
904904

905-
if (disable_uuids) data['disable_uuids'] = 1;
905+
if (!uuids) data['disable_uuids'] = 1;
906906
if (state) data['metadata'] = 1;
907907

908908
// Make sure we have a Channel

‎phonegap/pubnub.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -898,11 +898,11 @@ function PN_API(setup) {
898898
, auth_key = args['auth_key'] || AUTH_KEY
899899
, channel = args['channel']
900900
, jsonp = jsonp_cb()
901-
, disable_uuids = args['disable_uuids']
902-
, state = args['state']
901+
, uuids = args['uuids'] || true
902+
, state = args['state']
903903
, data = { 'uuid' : UUID, 'auth' : auth_key };
904904

905-
if (disable_uuids) data['disable_uuids'] = 1;
905+
if (!uuids) data['disable_uuids'] = 1;
906906
if (state) data['metadata'] = 1;
907907

908908
// Make sure we have a Channel

0 commit comments

Comments
 (0)