incorporate support for publish-options into server info
This commit is contained in:
		
							parent
							
								
									85dc0c284d
								
							
						
					
					
						commit
						74cde1d60a
					
				| @ -905,7 +905,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); | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Daniel Gultsch
						Daniel Gultsch