mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-11 12:29:24 +00:00
Bugfix with property/callable
This commit is contained in:
@ -410,7 +410,7 @@ class User(AbstractBaseUser):
|
||||
return user.is_in_group(settings.SITH_MAIN_BOARD_GROUP) or user.is_root
|
||||
|
||||
def can_be_viewed_by(self, user):
|
||||
return (user.was_subscribed() and self.is_subscriber_viewable) or user.is_root
|
||||
return (user.was_subscribed and self.is_subscriber_viewable) or user.is_root
|
||||
|
||||
def get_mini_item(self):
|
||||
return """
|
||||
|
Reference in New Issue
Block a user