mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-26 04:48:09 -06:00
Merge branch 'next-gen' of gitlab.mcvsoftware.com:twblue/twblue into next-gen
This commit is contained in:
commit
c480554e01
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user