diff --git a/fbchat/__init__.py b/fbchat/__init__.py index c68bba3..329459d 100644 --- a/fbchat/__init__.py +++ b/fbchat/__init__.py @@ -17,7 +17,7 @@ from .client import * __copyright__ = 'Copyright 2015 - {} by Taehoon Kim'.format(datetime.now().year) -__version__ = '1.3.5' +__version__ = '1.3.6' __license__ = 'BSD' __author__ = 'Taehoon Kim; Moreels Pieter-Jan; Mads Marquart' __email__ = 'carpedm20@gmail.com' diff --git a/fbchat/client.py b/fbchat/client.py index 045cd0d..4698155 100644 --- a/fbchat/client.py +++ b/fbchat/client.py @@ -1269,9 +1269,9 @@ class Client(object): :raises: FBchatException if request failed """ data = { - "ids[%s]" % thread_id: True, + "ids[%s]" % thread_id: 'true', "watermarkTimestamp": now(), - "shouldSendReadReceipt": True, + "shouldSendReadReceipt": 'true', } r = self._post(self.req_url.READ_STATUS, data)