Tooltip on send button in forward dialog is redundant (#7594)

pull/21833/head
Ingrid 2022-01-21 13:00:43 +01:00 committed by GitHub
parent 09a1bc66a8
commit cf0141467e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -98,9 +98,7 @@ const Entry: React.FC<IEntryProps> = ({ room, event, matrixClient: cli, onFinish
let icon;
if (sendState === SendState.CanSend) {
className = "mx_ForwardList_canSend";
if (room.maySendMessage()) {
title = _t("Send");
} else {
if (!room.maySendMessage()) {
disabled = true;
title = _t("You don't have permission to do this");
}