mirror of
https://github.com/ChronosX88/Influence-cjdns.git
synced 2024-11-09 17:31:01 +00:00
Fixed a bug where no notification was sent that peer left from the chat
This commit is contained in:
parent
b42a306c58
commit
7100d5f9b5
@ -135,5 +135,14 @@ void MainWindow::peerReceiverLeftFromChatMethod(QString peerID, QString chatID)
|
|||||||
{
|
{
|
||||||
pChatWindows.at(i)->peerReceiverLeftFromChat();
|
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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user