1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-25 14:50:29 +00:00

update onlyoffice always show watermark if enabled

This commit is contained in:
lian
2021-05-20 10:57:42 +08:00
parent 620d929545
commit 19ff00dbc4

View File

@@ -107,7 +107,7 @@ def get_onlyoffice_dict(request, username, repo_id, file_path, file_id='',
'can_download': can_download,
'username': username,
'onlyoffice_force_save': ONLYOFFICE_FORCE_SAVE,
'enable_watermark': ENABLE_WATERMARK and not can_edit,
'enable_watermark': ENABLE_WATERMARK,
}
if ONLYOFFICE_JWT_SECRET: