diff --git a/files/classes/user.py b/files/classes/user.py index 4aa8d0b73..719a34424 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -276,6 +276,11 @@ class User(Base): def cursormarsey(self): return session.get('cursormarsey', CURSORMARSEY_DEFAULT) + @property + @lazy + def cw_warnings(self): + return bool(session.get('cw_warnings', True)) + @property @lazy def nsfw_warnings(self):