diff options
author | Lorenz Diener <[email protected]> | 2018-04-17 17:21:16 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2018-04-17 17:21:16 +0200 |
commit | 087c49b1993114b1cd2f4b130999197e28cc6cc1 (patch) | |
tree | 77160097f93b0c67cdf0f36502c65a857be82de1 /mastodon | |
parent | b01edc49ee8831bb91d8e79eac5be8b8fb97af44 (diff) | |
download | mastodon.py-087c49b1993114b1cd2f4b130999197e28cc6cc1.tar.gz |
Small fix to account_search
Diffstat (limited to 'mastodon')
-rw-r--r-- | mastodon/Mastodon.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index 5f1edb3..589d487 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py | |||
@@ -687,10 +687,11 @@ class Mastodon: | |||
687 | params) | 687 | params) |
688 | 688 | ||
689 | @api_version("1.0.0", "2.1.0") | 689 | @api_version("1.0.0", "2.1.0") |
690 | def account_search(self, q, limit=None): | 690 | def account_search(self, q, limit=None. following=False): |
691 | """ | 691 | """ |
692 | Fetch matching accounts. Will lookup an account remotely if the search term is | 692 | Fetch matching accounts. Will lookup an account remotely if the search term is |
693 | in the username@domain format and not yet in the database. | 693 | in the username@domain format and not yet in the database. Set `following` to |
694 | True to limit the search to users the logged-in user follows. | ||
694 | 695 | ||
695 | Returns a list of `user dicts`_. | 696 | Returns a list of `user dicts`_. |
696 | """ | 697 | """ |