Add bookmark scopes and entity/versioning info
This commit is contained in:
pare
e2b9855ce9
commit
05e2bcb967
S'han modificat 2 arxius amb 5 adicions i 2 eliminacions
|
@ -314,6 +314,7 @@ Toot dicts
|
|||
'media_attachments': # A list of media dicts of attached files
|
||||
'emojis': # A list of custom emojis used in the toot, as Emoji dicts
|
||||
'tags': # A list of hashtag used in the toot, as Hashtag dicts
|
||||
'bookmarked': # True if the status is bookmarked by the logged in user, False if not.
|
||||
'application': # Application dict for the client used to post the toot (Does not federate
|
||||
# and is therefore always None for remote toots, can also be None for
|
||||
# local toots for some legacy applications).
|
||||
|
|
|
@ -148,7 +148,8 @@ class Mastodon:
|
|||
'read:mutes',
|
||||
'read:notifications',
|
||||
'read:search',
|
||||
'read:statuses'
|
||||
'read:statuses',
|
||||
'read:bookmarks'
|
||||
],
|
||||
'write': [
|
||||
'write:accounts',
|
||||
|
@ -162,6 +163,7 @@ class Mastodon:
|
|||
'write:notifications',
|
||||
'write:reports',
|
||||
'write:statuses',
|
||||
'write:bookmarks'
|
||||
],
|
||||
'follow': [
|
||||
'read:blocks',
|
||||
|
@ -191,7 +193,7 @@ class Mastodon:
|
|||
__DICT_VERSION_MEDIA = "2.8.2"
|
||||
__DICT_VERSION_ACCOUNT = "3.1.0"
|
||||
__DICT_VERSION_POLL = "2.8.0"
|
||||
__DICT_VERSION_STATUS = bigger_version(bigger_version(bigger_version(bigger_version(bigger_version("2.9.1",
|
||||
__DICT_VERSION_STATUS = bigger_version(bigger_version(bigger_version(bigger_version(bigger_version("3.1.0",
|
||||
__DICT_VERSION_MEDIA), __DICT_VERSION_ACCOUNT), __DICT_VERSION_APPLICATION), __DICT_VERSION_MENTION), __DICT_VERSION_POLL)
|
||||
__DICT_VERSION_INSTANCE = bigger_version("2.9.2", __DICT_VERSION_ACCOUNT)
|
||||
__DICT_VERSION_HASHTAG = "2.3.4"
|
||||
|
|
Loading…
Referencia en una nova incidència