mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-25 06:25:56 +03:00
Check if signature is empty.
Signed-off-by: Camila Ayres <hello@camilasan.com>
This commit is contained in:
parent
e65e581933
commit
4828dde8e9
1 changed files with 5 additions and 0 deletions
|
@ -181,6 +181,11 @@ void FolderMetadata::setupExistingMetadata(const QByteArray &metadata)
|
|||
}
|
||||
}
|
||||
|
||||
if (_initialSignature.isEmpty()) {
|
||||
qCDebug(lcCseMetadata()) << "Signature is empty";
|
||||
return;
|
||||
}
|
||||
|
||||
if (!parseFileDropPart(metaDataDoc)) {
|
||||
qCDebug(lcCseMetadata()) << "Could not parse filedrop part";
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue