aboutsummaryrefslogtreecommitdiffstats
path: root/Pubnub.py
diff options
context:
space:
mode:
authorDevendra2014-07-24 22:51:56 +0530
committerDevendra2014-07-24 22:51:56 +0530
commit21ea3d9b06f24025b7980eed6ae0727bc7b3abe1 (patch)
tree0f8049a1888219072dc45a99bf2e9a8e07767f11 /Pubnub.py
parentff904987dbd8167c5d10c717369260362fdb26b7 (diff)
downloadpubnub-python-21ea3d9b06f24025b7980eed6ae0727bc7b3abe1.tar.bz2
[fixes #74404960 develop] fix for presence api
Diffstat (limited to 'Pubnub.py')
-rw-r--r--Pubnub.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/Pubnub.py b/Pubnub.py
index 0871616..2bb7cda 100644
--- a/Pubnub.py
+++ b/Pubnub.py
@@ -632,10 +632,7 @@ class PubnubBase(object):
Returns:
None
"""
- return self.subscribe({
- 'channel': channel + '-pnpres',
- 'subscribe_key': self.subscribe_key,
- 'callback': self._return_wrapped_callback(callback)})
+ return self.subscribe(channel+'-pnpres', callback=callback)
def here_now(self, channel, callback=None, error=None):
"""Get here now data.