Change: Change the way sessions are named to put the account first, then the social network.

This commit is contained in:
2024-05-22 16:28:06 -06:00
parent 68651ff736
commit 14a956d207
3 changed files with 7 additions and 2 deletions

View File

@@ -3,9 +3,11 @@ from sessions.mastodon import session
class Session(session.Session):
# disable version check so Mastodon.py won't throw exceptions.
version_check_mode = "none"
name = "GoToSocial"
def get_lists(self):
""" Gets the lists that the user is subscribed to and stores them in the database. Returns None."""
self.db["lists"] = []
def get_muted_users(self):
self.db["muted_users"] = []