parent
39ad17b8d3
commit
5cc92acbee
|
@ -912,12 +912,14 @@ public class EditAccountActivity extends OmemoActivity implements OnAccountUpdat
|
|||
} else {
|
||||
this.mServerInfoSm.setText(R.string.server_info_unavailable);
|
||||
}
|
||||
if (features.pep() && features.pepPublishOptions()) {
|
||||
if (features.pep()) {
|
||||
AxolotlService axolotlService = this.mAccount.getAxolotlService();
|
||||
if (axolotlService != null && axolotlService.isPepBroken()) {
|
||||
this.mServerInfoPep.setText(R.string.server_info_broken);
|
||||
} else {
|
||||
} else if (features.pepPublishOptions()) {
|
||||
this.mServerInfoPep.setText(R.string.server_info_available);
|
||||
} else {
|
||||
this.mServerInfoPep.setText(R.string.server_info_partial);
|
||||
}
|
||||
} else {
|
||||
this.mServerInfoPep.setText(R.string.server_info_unavailable);
|
||||
|
|
|
@ -761,4 +761,5 @@
|
|||
<string name="pref_validate_hostname_summary">Server certificates that contain the validated hostname are considered verified</string>
|
||||
<string name="network_is_unreachable">Network is unreachable</string>
|
||||
<string name="certificate_does_not_contain_jid">Certificate does not contain a Jabber ID</string>
|
||||
<string name="server_info_partial">partial</string>
|
||||
</resources>
|
||||
|
|
Loading…
Reference in a new issue