You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
hide local aliases by default
This commit is contained in:
@@ -336,7 +336,6 @@ export default class AliasSettings extends React.Component {
|
|||||||
return (
|
return (
|
||||||
<div className='mx_AliasSettings'>
|
<div className='mx_AliasSettings'>
|
||||||
{canonicalAliasSection}
|
{canonicalAliasSection}
|
||||||
{localAliasesList}
|
|
||||||
<datalist id="mx_AliasSettings_altRecommendations">
|
<datalist id="mx_AliasSettings_altRecommendations">
|
||||||
{this._getLocalNonAltAliases().map(alias => {
|
{this._getLocalNonAltAliases().map(alias => {
|
||||||
return <option value={alias} key={alias} />;
|
return <option value={alias} key={alias} />;
|
||||||
@@ -359,6 +358,10 @@ export default class AliasSettings extends React.Component {
|
|||||||
'New address (e.g. #foo:domain)',
|
'New address (e.g. #foo:domain)',
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
|
<details>
|
||||||
|
<summary>{_t('Local addresses (unmoderated content)')}</summary>
|
||||||
|
{localAliasesList}
|
||||||
|
</details>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1156,6 +1156,7 @@
|
|||||||
"Alternative addresses for this room:": "Alternative addresses for this room:",
|
"Alternative addresses for this room:": "Alternative addresses for this room:",
|
||||||
"This room has no alternative addresses": "This room has no alternative addresses",
|
"This room has no alternative addresses": "This room has no alternative addresses",
|
||||||
"New address (e.g. #foo:domain)": "New address (e.g. #foo:domain)",
|
"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",
|
"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.",
|
"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",
|
"Invalid community ID": "Invalid community ID",
|
||||||
|
|||||||
Reference in New Issue
Block a user