Merge branch 'next-gen' of gitlab.mcvsoftware.com:twblue/twblue into next-gen

This commit is contained in:
Manuel Cortez 2022-12-05 03:00:57 -06:00
commit c480554e01
No known key found for this signature in database
GPG Key ID: 9E0735CA15EFE790

View File

@ -105,8 +105,8 @@ class Session(base.baseSession):
self.get_muted_users()
# determine instance custom characters limit.
instance = self.api.instance()
if hasattr(instance, "max_toot_chars"):
self.char_limit = instance.max_toot_chars
if hasattr(instance, "configuration") and hasattr(instance.configuration, "statuses") and hasattr(instance.configuration.statuses, "max_characters"):
self.char_limit = instance.configuration.statuses.max_characters
self.settings.write()
def get_lists(self):