Merge pull request #32 from tootworks/remove_mentions_timeline
Remove the mentions timeline because it doesn't exist
This commit is contained in:
commit
2dfa8d3a37
S'han modificat 2 arxius amb 2 adicions i 11 eliminacions
|
@ -208,7 +208,6 @@ user could see, as well as hashtag timelines and the public timeline.
|
|||
|
||||
.. automethod:: Mastodon.timeline
|
||||
.. automethod:: Mastodon.timeline_home
|
||||
.. automethod:: Mastodon.timeline_mentions
|
||||
.. automethod:: Mastodon.timeline_local
|
||||
.. automethod:: Mastodon.timeline_public
|
||||
.. automethod:: Mastodon.timeline_hashtag
|
||||
|
|
|
@ -244,8 +244,8 @@ class Mastodon:
|
|||
##
|
||||
def timeline(self, timeline = "home", max_id = None, since_id = None, limit = None):
|
||||
"""
|
||||
Fetch statuses, most recent ones first. Timeline can be home, mentions, local,
|
||||
public, or tag/hashtag. See the following functions documentation for what those do.
|
||||
Fetch statuses, most recent ones first. Timeline can be home, local, public,
|
||||
or tag/hashtag. See the following functions documentation for what those do.
|
||||
|
||||
The default timeline is the "home" timeline.
|
||||
|
||||
|
@ -268,14 +268,6 @@ class Mastodon:
|
|||
"""
|
||||
return self.timeline('home', max_id = max_id, since_id = since_id, limit = limit)
|
||||
|
||||
def timeline_mentions(self, max_id = None, since_id = None, limit = None):
|
||||
"""
|
||||
Fetches the authenticated users mentions.
|
||||
|
||||
Returns a list of toot dicts.
|
||||
"""
|
||||
return self.timeline('mentions', max_id = max_id, since_id = since_id, limit = limit)
|
||||
|
||||
def timeline_local(self, max_id = None, since_id = None, limit = None):
|
||||
"""
|
||||
Fetches the local / instance-wide timeline.
|
||||
|
|
Loading…
Referencia en una nova incidència