Fixed loading of other users lists. Fixes #465

This commit is contained in:
Manuel Cortez 2022-05-13 13:33:10 -05:00
parent fa9ebea836
commit bed8e26204
No known key found for this signature in database
GPG Key ID: 9E0735CA15EFE790
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@ TWBlue Changelog
* Fixed an issue that was making TWBlue to display incorrectly some retweets of quoted tweets. * Fixed an issue that was making TWBlue to display incorrectly some retweets of quoted tweets.
* Implemented a new setting, available in the account settings dialog, that allows to hide emojis in twitter usernames. * Implemented a new setting, available in the account settings dialog, that allows to hide emojis in twitter usernames.
* Fixed error when loading other user lists. ([#465](https://github.com/MCV-Software/TWBlue/issues/465))
## changes in version 22.2.23 ## changes in version 22.2.23

View File

@ -32,7 +32,7 @@ class listsController(object):
return [compose.compose_list(item) for item in self.session.db["lists"]] return [compose.compose_list(item) for item in self.session.db["lists"]]
def get_user_lists(self, user): def get_user_lists(self, user):
self.lists = self.session.twitter.lists_all(reverse=True, screen_name=user) self.lists = self.session.twitter.get_lists(reverse=True, screen_name=user)
return [compose.compose_list(item) for item in self.lists] return [compose.compose_list(item) for item in self.lists]
def create_list(self, *args, **kwargs): def create_list(self, *args, **kwargs):