Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Tooltip on send button in forward dialog is redundant (#7594)
Browse files Browse the repository at this point in the history
  • Loading branch information
twigleingrid authored Jan 21, 2022
1 parent 09a1bc6 commit cf01414
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/views/dialogs/ForwardDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand Down

0 comments on commit cf01414

Please sign in to comment.