change character max value for new toot dialog

This commit is contained in:
Manuel Cortez 2022-11-09 12:45:56 -06:00
parent e07efa46b3
commit edbc74262a
No known key found for this signature in database
GPG Key ID: 9E0735CA15EFE790

View File

@ -5,7 +5,7 @@ from controller.twitter import messages
class toot(messages.tweet):
def __init__(self, max=500, *args, **kwargs):
super(toot, self).__init__(*args, **kwargs)
super(toot, self).__init__(max=max, *args, **kwargs)
if hasattr(self.message, "add_tweet"):
self.message.add_tweet.SetLabel(_("Add toot"))