Skip to content

Commit

Permalink
fix "Unblock" chat button
Browse files Browse the repository at this point in the history
the `AbstractButton::clicked()` signal has no params; that's a leftover
from previous implementation
  • Loading branch information
caybro committed Apr 7, 2023
1 parent f644cdc commit 6385afe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ui/imports/shared/status/StatusChatInput.qml
Original file line number Diff line number Diff line change
Expand Up @@ -1493,9 +1493,7 @@ Rectangle {
visible: control.isContactBlocked
text: qsTr("Unblock")
type: StatusQ.StatusBaseButton.Type.Danger
onClicked: function (event) {
control.unblockChat()
}
onClicked: control.unblockChat()
}
}
}

0 comments on commit 6385afe

Please sign in to comment.