mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-20 21:29:01 -04:00
fixed notification display for msgs
This commit is contained in:
parent
1d4934b71e
commit
f404962b51
3 changed files with 13 additions and 4 deletions
|
@ -600,8 +600,8 @@ void MessageWidget::fill(const std::string &msgId)
|
|||
link = RetroShareLink::createMessage(msgInfo.rspeerid_srcId, "");
|
||||
}
|
||||
|
||||
if ((msgInfo.msgflags & RS_MSG_SYSTEM) && msgInfo.rspeerid_srcId == ownId) {
|
||||
ui.fromText->setText("RetroShare");
|
||||
if (((msgInfo.msgflags & RS_MSG_SYSTEM) && msgInfo.rspeerid_srcId == ownId) || msgInfo.rspeerid_srcId.isNull()) {
|
||||
ui.fromText->setText("[Notification]");
|
||||
if (toolButtonReply) toolButtonReply->setEnabled(false);
|
||||
} else {
|
||||
ui.fromText->setText(link.toHtml());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue