mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-27 02:59:23 +03:00
Fix compilation issue
This commit is contained in:
parent
0307e572c0
commit
92d54dc733
1 changed files with 1 additions and 1 deletions
|
@ -341,7 +341,7 @@ internal class DefaultKeysBackupService @Inject constructor(
|
||||||
|
|
||||||
override fun backupAllGroupSessions(progressListener: ProgressListener?,
|
override fun backupAllGroupSessions(progressListener: ProgressListener?,
|
||||||
callback: MatrixCallback<Unit>?) {
|
callback: MatrixCallback<Unit>?) {
|
||||||
if (!isEnabled || backupOlmPkEncryption == null || keysBackupVersion == null) {
|
if (!isEnabled() || backupOlmPkEncryption == null || keysBackupVersion == null) {
|
||||||
callback?.onFailure(Throwable("Backup not enabled"))
|
callback?.onFailure(Throwable("Backup not enabled"))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue