Merge pull request #296 from zevaryx/master

Add resolve keyword to account_search
pull/306/head^2
Lorenz Diener 2023-04-23 18:35:12 +03:00 zatwierdzone przez GitHub
commit 8ed48b8021
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -243,7 +243,7 @@ class Mastodon(Internals):
params)
@api_version("1.0.0", "2.3.0", _DICT_VERSION_ACCOUNT)
def account_search(self, q, limit=None, following=False):
def account_search(self, q, limit=None, following=False, resolve=False):
"""
Fetch matching accounts. Will lookup an account remotely if the search term is
in the username@domain format and not yet in the database. Set `following` to