call to update ui after fingerprint verification

This commit is contained in:
Daniel Gultsch 2018-03-23 11:28:00 +01:00
parent 255dd9674e
commit ce867758d5

View file

@ -442,6 +442,7 @@ public class EditAccountActivity extends OmemoActivity implements OnAccountUpdat
if (mAccount != null && mAccount.getJid().asBareJid().equals(uri.getJid()) && uri.hasFingerprints()) {
if (xmppConnectionService.verifyFingerprints(mAccount, uri.getFingerprints())) {
Toast.makeText(this, R.string.verified_fingerprints, Toast.LENGTH_SHORT).show();
updateAccountInformation(false);
}
} else if (showWarningToast) {
Toast.makeText(this, R.string.invalid_barcode, Toast.LENGTH_SHORT).show();