Disable 'edit locally' message

when I go to edit a file, nextcloud is asking for this check to edit locally. Does anyone know how to disable this message? Note: this confirmation was implemented in an update recently