You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-05 23:10:41 +03:00
iterate PR based on feedback
This commit is contained in:
@@ -1249,12 +1249,12 @@ export default class InviteDialog extends React.PureComponent<IInviteDialogProps
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async onLinkClick(e) {
|
private async onLinkClick(e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
selectText(e.target);
|
selectText(e.target);
|
||||||
}
|
}
|
||||||
|
|
||||||
onCopyClick = async e => {
|
private onCopyClick = async e => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
const target = e.target; // copy target before we go async and React throws it away
|
const target = e.target; // copy target before we go async and React throws it away
|
||||||
|
|
||||||
@@ -1348,7 +1348,7 @@ export default class InviteDialog extends React.PureComponent<IInviteDialogProps
|
|||||||
goButtonFn = this.startDm;
|
goButtonFn = this.startDm;
|
||||||
extraSection = <div className="mx_InviteDialog_section_hidden_suggestions_disclaimer">
|
extraSection = <div className="mx_InviteDialog_section_hidden_suggestions_disclaimer">
|
||||||
<span>{ _t("Some suggestions may be hidden for privacy.") }</span>
|
<span>{ _t("Some suggestions may be hidden for privacy.") }</span>
|
||||||
<p>{ _t("If you can’t see who you’re looking for, send them your invite link below.") }</p>
|
<p>{ _t("If you can't see who you’re looking for, send them your invite link below.") }</p>
|
||||||
</div>;
|
</div>;
|
||||||
const link = makeUserPermalink(MatrixClientPeg.get().getUserId());
|
const link = makeUserPermalink(MatrixClientPeg.get().getUserId());
|
||||||
footer = <div className="mx_InviteDialog_footer">
|
footer = <div className="mx_InviteDialog_footer">
|
||||||
|
|||||||
Reference in New Issue
Block a user