mirror of https://github.com/vector-im/riot-web
hide local aliases by default
parent
08a31886a7
commit
7079d70f18
|
@ -336,7 +336,6 @@ export default class AliasSettings extends React.Component {
|
|||
return (
|
||||
<div className='mx_AliasSettings'>
|
||||
{canonicalAliasSection}
|
||||
{localAliasesList}
|
||||
<datalist id="mx_AliasSettings_altRecommendations">
|
||||
{this._getLocalNonAltAliases().map(alias => {
|
||||
return <option value={alias} key={alias} />;
|
||||
|
@ -359,6 +358,10 @@ export default class AliasSettings extends React.Component {
|
|||
'New address (e.g. #foo:domain)',
|
||||
)}
|
||||
/>
|
||||
<details>
|
||||
<summary>{_t('Local addresses (unmoderated content)')}</summary>
|
||||
{localAliasesList}
|
||||
</details>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -1156,6 +1156,7 @@
|
|||
"Alternative addresses for this room:": "Alternative addresses for this room:",
|
||||
"This room has no alternative addresses": "This room has no alternative addresses",
|
||||
"New address (e.g. #foo:domain)": "New address (e.g. #foo:domain)",
|
||||
"Local addresses (unmoderated content)": "Local addresses (unmoderated content)",
|
||||
"Error updating flair": "Error updating flair",
|
||||
"There was an error updating the flair for this room. The server may not allow it or a temporary error occurred.": "There was an error updating the flair for this room. The server may not allow it or a temporary error occurred.",
|
||||
"Invalid community ID": "Invalid community ID",
|
||||
|
|
Loading…
Reference in New Issue