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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user