Remove mention button from profile viewer
Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
parent
74464992e6
commit
0e17c57856
1 changed files with 0 additions and 2 deletions
|
@ -23,7 +23,6 @@ import Button from '../../atoms/button/Button';
|
||||||
import { MenuItem } from '../../atoms/context-menu/ContextMenu';
|
import { MenuItem } from '../../atoms/context-menu/ContextMenu';
|
||||||
import PowerLevelSelector from '../../molecules/power-level-selector/PowerLevelSelector';
|
import PowerLevelSelector from '../../molecules/power-level-selector/PowerLevelSelector';
|
||||||
import Dialog from '../../molecules/dialog/Dialog';
|
import Dialog from '../../molecules/dialog/Dialog';
|
||||||
import SettingTile from '../../molecules/setting-tile/SettingTile';
|
|
||||||
|
|
||||||
import ShieldEmptyIC from '../../../../public/res/ic/outlined/shield-empty.svg';
|
import ShieldEmptyIC from '../../../../public/res/ic/outlined/shield-empty.svg';
|
||||||
import ChevronRightIC from '../../../../public/res/ic/outlined/chevron-right.svg';
|
import ChevronRightIC from '../../../../public/res/ic/outlined/chevron-right.svg';
|
||||||
|
@ -259,7 +258,6 @@ function ProfileFooter({ roomId, userId, onRequestClose }) {
|
||||||
>
|
>
|
||||||
{isCreatingDM ? 'Creating room...' : 'Message'}
|
{isCreatingDM ? 'Creating room...' : 'Message'}
|
||||||
</Button>
|
</Button>
|
||||||
{ member?.membership === 'join' && <Button>Mention</Button>}
|
|
||||||
{ (isInvited ? canIKick : room.canInvite(mx.getUserId())) && isInvitable && (
|
{ (isInvited ? canIKick : room.canInvite(mx.getUserId())) && isInvitable && (
|
||||||
<Button
|
<Button
|
||||||
onClick={toggleInvite}
|
onClick={toggleInvite}
|
||||||
|
|
Loading…
Reference in a new issue