Fixed a bug where no notification was sent that peer left from the chat

This commit is contained in:
Denis Davydov 2018-07-26 12:59:43 +03:00
parent b42a306c58
commit 7100d5f9b5

View File

@ -135,5 +135,14 @@ void MainWindow::peerReceiverLeftFromChatMethod(QString peerID, QString chatID)
{
pChatWindows.at(i)->peerReceiverLeftFromChat();
}
else
{
QString msg;
msg += tr("Peer ");
msg += peerID;
msg += tr(" left from chat ");
msg += chatID;
QMessageBox::warning(this, tr("Peer receiver left from chat!"), msg, QMessageBox::Ok);
}
}
}