diff --git a/src/sessions/gotosocial/__init__.py b/src/sessions/gotosocial/__init__.py new file mode 100644 index 00000000..40a96afc --- /dev/null +++ b/src/sessions/gotosocial/__init__.py @@ -0,0 +1 @@ +# -*- coding: utf-8 -*- diff --git a/src/sessions/gotosocial/session.py b/src/sessions/gotosocial/session.py new file mode 100644 index 00000000..efc5e97c --- /dev/null +++ b/src/sessions/gotosocial/session.py @@ -0,0 +1,11 @@ +from sessions.mastodon import session + +class Session(session.Session): + # disable version check so Mastodon.py won't throw exceptions. + version_check_mode = "none" + + 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"] = []