incorporate support for publish-options into server info
This commit is contained in:
parent
2ef7562718
commit
826aa79d1c
1 changed files with 1 additions and 1 deletions
|
@ -941,7 +941,7 @@ public class EditAccountActivity extends OmemoActivity implements OnAccountUpdat
|
||||||
} else {
|
} else {
|
||||||
this.mServerInfoSm.setText(R.string.server_info_unavailable);
|
this.mServerInfoSm.setText(R.string.server_info_unavailable);
|
||||||
}
|
}
|
||||||
if (features.pep()) {
|
if (features.pep() && features.pepPublishOptions()) {
|
||||||
AxolotlService axolotlService = this.mAccount.getAxolotlService();
|
AxolotlService axolotlService = this.mAccount.getAxolotlService();
|
||||||
if (axolotlService != null && axolotlService.isPepBroken()) {
|
if (axolotlService != null && axolotlService.isPepBroken()) {
|
||||||
this.mServerInfoPep.setText(R.string.server_info_broken);
|
this.mServerInfoPep.setText(R.string.server_info_broken);
|
||||||
|
|
Reference in a new issue