Skip to content

Commit

Permalink
Add Capabilities::zsyncSupportedVersion function.
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedammar committed Jan 11, 2018
1 parent 9613f64 commit e7ef50a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/libsync/capabilities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,9 @@ bool Capabilities::uploadConflictFiles() const

return _capabilities["uploadConflictFiles"].toBool();
}

QString Capabilities::zsyncSupportedVersion() const
{
return _capabilities["dav"].toMap()["zsync"].toString();
}
}
1 change: 1 addition & 0 deletions src/libsync/capabilities.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class OWNCLOUDSYNC_EXPORT Capabilities
bool sharePublicLinkMultiple() const;
bool shareResharing() const;
bool chunkingNg() const;
QString zsyncSupportedVersion() const;

/// disable parallel upload in chunking
bool chunkingParallelUploadDisabled() const;
Expand Down

0 comments on commit e7ef50a

Please sign in to comment.