Fix indexable setting

This commit is contained in:
Grishka
2023-09-22 21:33:21 +03:00
committed by LucasGGamerM
parent fd34be3c66
commit 994ae0242c
4 changed files with 10 additions and 8 deletions

View File

@@ -219,7 +219,7 @@ public class AccountSession{
public void savePreferencesIfPending(){
if(preferencesNeedSaving){
new UpdateAccountCredentialsPreferences(preferences, null, self.discoverable, !self.noindex)
new UpdateAccountCredentialsPreferences(preferences, null, self.discoverable, self.source.indexable)
.setCallback(new Callback<>(){
@Override
public void onSuccess(Account result){