diff options
-rw-r--r-- | mastodon/Mastodon.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index b22128f..b997402 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py | |||
@@ -162,7 +162,7 @@ class Mastodon: | |||
162 | __DICT_VERSION_INSTANCE = bigger_version("2.3.0", __DICT_VERSION_ACCOUNT) | 162 | __DICT_VERSION_INSTANCE = bigger_version("2.3.0", __DICT_VERSION_ACCOUNT) |
163 | __DICT_VERSION_HASHTAG = "1.0.0" | 163 | __DICT_VERSION_HASHTAG = "1.0.0" |
164 | __DICT_VERSION_EMOJI = "2.1.0" | 164 | __DICT_VERSION_EMOJI = "2.1.0" |
165 | __DICT_VERSION_RELATIONSHIP = "2.3.4" | 165 | __DICT_VERSION_RELATIONSHIP = "2.4.3" |
166 | __DICT_VERSION_NOTIFICATION = bigger_version(bigger_version("1.0.0", __DICT_VERSION_ACCOUNT), __DICT_VERSION_STATUS) | 166 | __DICT_VERSION_NOTIFICATION = bigger_version(bigger_version("1.0.0", __DICT_VERSION_ACCOUNT), __DICT_VERSION_STATUS) |
167 | __DICT_VERSION_CONTEXT = bigger_version("1.0.0", __DICT_VERSION_STATUS) | 167 | __DICT_VERSION_CONTEXT = bigger_version("1.0.0", __DICT_VERSION_STATUS) |
168 | __DICT_VERSION_LIST = "2.1.0" | 168 | __DICT_VERSION_LIST = "2.1.0" |
@@ -1027,7 +1027,7 @@ class Mastodon: | |||
1027 | ### | 1027 | ### |
1028 | # Writing data: Statuses | 1028 | # Writing data: Statuses |
1029 | ### | 1029 | ### |
1030 | @api_version("1.0.0", "2.3.4", __DICT_VERSION_STATUS) | 1030 | @api_version("1.0.0", "2.4.3", __DICT_VERSION_STATUS) |
1031 | def status_post(self, status, in_reply_to_id=None, media_ids=None, | 1031 | def status_post(self, status, in_reply_to_id=None, media_ids=None, |
1032 | sensitive=False, visibility=None, spoiler_text=None, | 1032 | sensitive=False, visibility=None, spoiler_text=None, |
1033 | language=None, idempotency_key=None): | 1033 | language=None, idempotency_key=None): |
@@ -1275,7 +1275,7 @@ class Mastodon: | |||
1275 | ### | 1275 | ### |
1276 | # Writing data: Accounts | 1276 | # Writing data: Accounts |
1277 | ### | 1277 | ### |
1278 | @api_version("1.0.0", "2.3.4", __DICT_VERSION_RELATIONSHIP) | 1278 | @api_version("1.0.0", "2.4.3", __DICT_VERSION_RELATIONSHIP) |
1279 | def account_follow(self, id, reblogs=True): | 1279 | def account_follow(self, id, reblogs=True): |
1280 | """ | 1280 | """ |
1281 | Follow a user. | 1281 | Follow a user. |
@@ -1336,7 +1336,7 @@ class Mastodon: | |||
1336 | url = '/api/v1/accounts/{0}/unblock'.format(str(id)) | 1336 | url = '/api/v1/accounts/{0}/unblock'.format(str(id)) |
1337 | return self.__api_request('POST', url) | 1337 | return self.__api_request('POST', url) |
1338 | 1338 | ||
1339 | @api_version("1.1.0", "2.3.4", __DICT_VERSION_RELATIONSHIP) | 1339 | @api_version("1.1.0", "2.4.3", __DICT_VERSION_RELATIONSHIP) |
1340 | def account_mute(self, id, notifications=True): | 1340 | def account_mute(self, id, notifications=True): |
1341 | """ | 1341 | """ |
1342 | Mute a user. | 1342 | Mute a user. |