mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-09-22 13:54:55 -04:00
Fix distant chat status
This commit is contained in:
parent
8fcc52b304
commit
917cf0f7a5
1 changed files with 3 additions and 0 deletions
|
@ -1844,6 +1844,9 @@ void ChatWidget::updateStatus(const QString &peer_id, int status)
|
||||||
switch (status) {
|
switch (status) {
|
||||||
case RS_STATUS_OFFLINE:
|
case RS_STATUS_OFFLINE:
|
||||||
ui->info_Frame->setVisible(true);
|
ui->info_Frame->setVisible(true);
|
||||||
|
if(chatId.isDistantChatId())
|
||||||
|
ui->infoLabel->setText(peerName + " " + tr("appears to be Offline.") +"\n" + tr("Cannot receive messages"));
|
||||||
|
else
|
||||||
ui->infoLabel->setText(peerName + " " + tr("appears to be Offline.") +"\n" + tr("Messages you send will be delivered after Friend is again Online."));
|
ui->infoLabel->setText(peerName + " " + tr("appears to be Offline.") +"\n" + tr("Messages you send will be delivered after Friend is again Online."));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue