You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-12-05 15:22:09 +03:00
Tooltip on send button in forward dialog is redundant (#7594)
This commit is contained in:
@@ -98,9 +98,7 @@ const Entry: React.FC<IEntryProps> = ({ room, event, matrixClient: cli, onFinish
|
|||||||
let icon;
|
let icon;
|
||||||
if (sendState === SendState.CanSend) {
|
if (sendState === SendState.CanSend) {
|
||||||
className = "mx_ForwardList_canSend";
|
className = "mx_ForwardList_canSend";
|
||||||
if (room.maySendMessage()) {
|
if (!room.maySendMessage()) {
|
||||||
title = _t("Send");
|
|
||||||
} else {
|
|
||||||
disabled = true;
|
disabled = true;
|
||||||
title = _t("You don't have permission to do this");
|
title = _t("You don't have permission to do this");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user