Fixed _getSticky

Facebook now requires channel and clientid to be passed when requesting a sticky pool.
This commit is contained in:
Mads T Marquart
2016-11-03 19:16:58 +01:00
committed by GitHub
parent 65fbb77451
commit 62c5ae7932

View File

@@ -462,7 +462,11 @@ class Client(object):
newer api needs these parameter to work.
'''
data = {"msgs_recv": 0}
data = {
"msgs_recv": 0,
"channel": self.user_channel,
"clientid": self.client_id
}
r = self._get(StickyURL, data)
j = get_json(r.text)