Skip to content
Snippets Groups Projects
Commit 721a465d authored by Jason Salyers's avatar Jason Salyers
Browse files

[JES] Trying to restore old mutes functionality. Decided to create a new...

[JES] Trying to restore old mutes functionality. Decided to create a new method instead of changing the existing
parent 7d95339a
No related branches found
No related tags found
No related merge requests found
...@@ -65,7 +65,7 @@ class Mutes: ...@@ -65,7 +65,7 @@ class Mutes:
self.fetched = perf() self.fetched = perf()
@classmethod @classmethod
async def all(cls): def all(cls):
"""Return the set of all muted accounts from singleton instance.""" """Return the set of all muted accounts from singleton instance."""
return cls.instance().accounts return cls.instance().accounts
...@@ -87,7 +87,7 @@ class Mutes: ...@@ -87,7 +87,7 @@ class Mutes:
return blacklisted_users return blacklisted_users
@classmethod @classmethod
async def lists(cls, name, rep): def lists(cls, name, rep):
"""Return blacklists the account belongs to.""" """Return blacklists the account belongs to."""
return[] return[]
assert name assert name
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment