mirror of https://github.com/vector-im/riot-web
small fixes
parent
030827f77d
commit
9e8a2eda1f
|
@ -40,7 +40,6 @@ import MatrixClientPeg from "../../../MatrixClientPeg";
|
||||||
import E2EIcon from "../rooms/E2EIcon";
|
import E2EIcon from "../rooms/E2EIcon";
|
||||||
import withLegacyMatrixClient from "../../../utils/withLegacyMatrixClient";
|
import withLegacyMatrixClient from "../../../utils/withLegacyMatrixClient";
|
||||||
import {useEventEmitter} from "../../../hooks/useEventEmitter";
|
import {useEventEmitter} from "../../../hooks/useEventEmitter";
|
||||||
import {ContentRepo} from 'matrix-js-sdk';
|
|
||||||
|
|
||||||
const _disambiguateDevices = (devices) => {
|
const _disambiguateDevices = (devices) => {
|
||||||
const names = Object.create(null);
|
const names = Object.create(null);
|
||||||
|
@ -315,13 +314,13 @@ const UserOptionsSection = withLegacyMatrixClient(({matrixClient: cli, member, i
|
||||||
return (
|
return (
|
||||||
<div className="mx_UserInfo_container">
|
<div className="mx_UserInfo_container">
|
||||||
<h3>{ _t("Options") }</h3>
|
<h3>{ _t("Options") }</h3>
|
||||||
<div className="mx_UserInfo_buttons">
|
<div>
|
||||||
{ directMessageButton }
|
{ directMessageButton }
|
||||||
{ readReceiptButton }
|
{ readReceiptButton }
|
||||||
{ shareUserButton }
|
{ shareUserButton }
|
||||||
{ insertPillButton }
|
{ insertPillButton }
|
||||||
{ ignoreButton }
|
|
||||||
{ inviteUserButton }
|
{ inviteUserButton }
|
||||||
|
{ ignoreButton }
|
||||||
{ unverifyButton }
|
{ unverifyButton }
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue