Version up, thanks to @gave92

Properly fixed `markAsRead`, @gave92  reminded me that I forgot to change the `True` to `'true'` when removing `encode_params`
This commit is contained in:
Mads Marquart
2018-03-21 10:05:07 +01:00
parent 95f018fad3
commit 884af48270
2 changed files with 3 additions and 3 deletions

View File

@@ -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'

View File

@@ -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)