incorporate support for publish-options into server info

This commit is contained in:
Christian Schneppe 2017-08-01 13:25:40 +02:00
parent 2ef7562718
commit 826aa79d1c

View file

@ -941,7 +941,7 @@ public class EditAccountActivity extends OmemoActivity implements OnAccountUpdat
} else {
this.mServerInfoSm.setText(R.string.server_info_unavailable);
}
if (features.pep()) {
if (features.pep() && features.pepPublishOptions()) {
AxolotlService axolotlService = this.mAccount.getAxolotlService();
if (axolotlService != null && axolotlService.isPepBroken()) {
this.mServerInfoPep.setText(R.string.server_info_broken);