File tree Expand file tree Collapse file tree
opencloudApp/src/main/java/eu/opencloud/android/operations
opencloudDomain/src/main/java/eu/opencloud/android/domain/capabilities/model Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ import timber.log.Timber
4040 *
4141 * First: Synchronize user info
4242 * Second: Synchronize user quota
43- * Third: Synchronize user avatar
4443 *
4544 * If one step fails, next one is not performed since it may fail too.
4645 */
@@ -77,13 +76,6 @@ class SyncProfileOperation(
7776 }
7877 }
7978 }
80- val shouldFetchAvatar = storedCapabilities?.isFetchingAvatarAllowed() ? : true
81- if (shouldFetchAvatar) {
82- // Avatar fetching is now handled by Coil on demand
83- Timber .d(" Avatar sync handled by Coil for account ${account.name} " )
84- } else {
85- Timber .d(" Avatar for this account: ${account.name} won't be synced due to capabilities " )
86- }
8779 } ? : Timber .d(" User profile was not synchronized" )
8880 }
8981 } catch (e: Exception ) {
Original file line number Diff line number Diff line change @@ -61,9 +61,6 @@ data class OCCapability(
6161 return (filesBigFileChunking.isTrue && doubleChunkingVersion != null && doubleChunkingVersion >= 1.0 )
6262 }
6363
64- fun isFetchingAvatarAllowed (): Boolean =
65- filesSharingUserProfilePicture.isTrue || filesSharingUserProfilePicture.isUnknown
66-
6764 fun isOpenInWebAllowed (): Boolean = filesAppProviders?.openWebUrl?.isNotBlank() ? : false
6865
6966 fun isSpacesAllowed (): Boolean = spaces?.enabled == true
You can’t perform that action at this time.
0 commit comments