Fixed a typo

This commit is contained in:
Manuel Cortez 2022-11-17 12:44:28 -06:00
parent 7835e09c5b
commit 3ad01d1ab0
No known key found for this signature in database
GPG Key ID: 9E0735CA15EFE790

View File

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