mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-11-30 04:16:40 -05:00
Added invite info frame for Friend Request Messages.
This commit is contained in:
parent
90594bc9a6
commit
9226ccc5ca
6 changed files with 320 additions and 10 deletions
|
|
@ -67,6 +67,7 @@ MsgItem::MsgItem(FeedHolder *parent, uint32_t feedId, const std::string &msgId,
|
|||
|
||||
|
||||
expandFrame->hide();
|
||||
inviteFrame->hide();
|
||||
|
||||
updateItemStatic();
|
||||
updateItem();
|
||||
|
|
@ -119,12 +120,15 @@ void MsgItem::updateItemStatic()
|
|||
if (mi.msgflags & RS_MSG_USER_REQUEST)
|
||||
{
|
||||
title = QString::fromUtf8(mi.title.c_str()) + " " + tr("from") + " " + srcName;
|
||||
replyButton->setText(tr("Reply to invite"));
|
||||
subjectLabel->hide();
|
||||
inviteFrame->show();
|
||||
}
|
||||
else
|
||||
{
|
||||
title = tr("Message From") + ": " + srcName;
|
||||
sendinviteButton->hide();
|
||||
inviteFrame->hide();
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue