From 4382741b12085debcd29260e8cfab6e0603d6c01 Mon Sep 17 00:00:00 2001 From: Christian Schneppe Date: Sun, 17 Sep 2017 19:19:37 +0200 Subject: use 'partial' in server info if publish-options is n/a --- src/main/java/de/pixart/messenger/ui/EditAccountActivity.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/main/java/de/pixart/messenger') 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); -- cgit v1.2.3