diff options
author | Christian Schneppe <christian@pix-art.de> | 2017-09-17 19:19:37 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2017-09-17 19:19:37 +0200 |
commit | 4382741b12085debcd29260e8cfab6e0603d6c01 (patch) | |
tree | b8e4895aff4f000c8d3dcdabaad2cf517d267b33 /src/main/java/de/pixart/messenger | |
parent | 9cc393d0015c4a18b919bf71961627706c961b59 (diff) |
use 'partial' in server info if publish-options is n/a
Diffstat (limited to 'src/main/java/de/pixart/messenger')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/EditAccountActivity.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/EditAccountActivity.java b/src/main/java/de/pixart/messenger/ui/EditAccountActivity.java index dc8b12f57..a7b0d994a 100644 --- a/src/main/java/de/pixart/messenger/ui/EditAccountActivity.java +++ b/src/main/java/de/pixart/messenger/ui/EditAccountActivity.java @@ -949,12 +949,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); |