diff options
author | Lorenz Diener <[email protected]> | 2020-02-16 17:03:06 +0100 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2020-02-16 17:03:06 +0100 |
commit | 86bb428e6f7621162e476d207ebd3cb3462d2a98 (patch) | |
tree | 776deccc43c0da5e4e77ea0a77baabd53d5ad21d /mastodon | |
parent | 633b915fca0541afb290951bddad6496ace44f81 (diff) | |
download | mastodon.py-86bb428e6f7621162e476d207ebd3cb3462d2a98.tar.gz |
Add "mentions_only" parameter to notifications
Diffstat (limited to 'mastodon')
-rw-r--r-- | mastodon/Mastodon.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index 5b1f98b..8c3f8fb 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py | |||
@@ -960,7 +960,7 @@ class Mastodon: | |||
960 | # Reading data: Notifications | 960 | # Reading data: Notifications |
961 | ### | 961 | ### |
962 | @api_version("1.0.0", "2.9.0", __DICT_VERSION_NOTIFICATION) | 962 | @api_version("1.0.0", "2.9.0", __DICT_VERSION_NOTIFICATION) |
963 | def notifications(self, id=None, account_id=None, max_id=None, min_id=None, since_id=None, limit=None): | 963 | def notifications(self, id=None, account_id=None, max_id=None, min_id=None, since_id=None, limit=None, mentions_only=None): |
964 | """ | 964 | """ |
965 | Fetch notifications (mentions, favourites, reblogs, follows) for the logged-in | 965 | Fetch notifications (mentions, favourites, reblogs, follows) for the logged-in |
966 | user. Pass `account_id` to get only notifications originating from the given account. | 966 | user. Pass `account_id` to get only notifications originating from the given account. |