From 74cde1d60a9f1ec2110060868bdf63ba65b9139a Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Mon, 17 Jul 2017 12:47:06 +0200 Subject: [PATCH] incorporate support for publish-options into server info --- .../java/eu/siacs/conversations/ui/EditAccountActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/ui/EditAccountActivity.java b/src/main/java/eu/siacs/conversations/ui/EditAccountActivity.java index f17337e86..0da8ed158 100644 --- a/src/main/java/eu/siacs/conversations/ui/EditAccountActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/EditAccountActivity.java @@ -905,7 +905,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);