hide local part of group chat xmpp address
This commit is contained in:
parent
5014248ccb
commit
31abe938fd
2 changed files with 6 additions and 1 deletions
|
@ -510,7 +510,11 @@ public class ConferenceDetailsActivity extends XmppActivity implements OnConvers
|
|||
setTitle(mucOptions.isPrivateAndNonAnonymous() ? R.string.conference_details : R.string.channel_details);
|
||||
this.binding.editMucNameButton.setVisibility((self.getAffiliation().ranks(MucOptions.Affiliation.OWNER) || mucOptions.canChangeSubject()) ? View.VISIBLE : View.GONE);
|
||||
this.binding.detailsAccount.setText(getString(R.string.using_account, account));
|
||||
this.binding.jid.setText(mConversation.getJid().asBareJid().toEscapedString());
|
||||
if (mConversation.isPrivateAndNonAnonymous()) {
|
||||
this.binding.jid.setText(getString(R.string.hosted_on, mConversation.getJid().getDomain()));
|
||||
} else {
|
||||
this.binding.jid.setText(mConversation.getJid().asBareJid().toEscapedString());
|
||||
}
|
||||
if (xmppConnectionService.multipleAccounts()) {
|
||||
this.binding.detailsAccount.setVisibility(View.VISIBLE);
|
||||
} else {
|
||||
|
|
|
@ -1004,4 +1004,5 @@
|
|||
<string name="show_videos_images_only">Only images/videos</string>
|
||||
<string name="show_avatar">Show avatar</string>
|
||||
<string name="action_delete">Delete</string>
|
||||
<string name="hosted_on">hosted on %s</string>
|
||||
</resources>
|
||||
|
|
Reference in a new issue