Fixed refused connection notify disable msg button

This commit is contained in:
defnax 2021-02-09 20:34:38 +01:00
parent 98c2e5fad6
commit 776141a8fd

View File

@ -206,7 +206,7 @@ void PeerItem::updateItem()
/* do buttons */
chatButton->setEnabled(details.state & RS_PEER_STATE_CONNECTED);
if (details.state & RS_PEER_STATE_FRIEND)
if (details.state & RS_PEER_STATE_CONNECTED)
{
sendmsgButton->setEnabled(true);
}