mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-21 05:39:11 -04:00
made the invite system non automatic, because it was confusing and could generate unwanted emails
This commit is contained in:
parent
fa84d1c881
commit
5a4d0f57d1
5 changed files with 16 additions and 15 deletions
|
@ -2775,12 +2775,12 @@ QString MessageComposer::inviteMessage()
|
|||
return tr("Hi,<br>I want to be friends with you on RetroShare.<br>");
|
||||
}
|
||||
|
||||
void MessageComposer::sendInvite(const RsGxsId &to, const QString &/*msg*/, bool autoSend)
|
||||
void MessageComposer::sendInvite(const RsGxsId &to, bool autoSend)
|
||||
{
|
||||
/* create a message */
|
||||
MessageComposer *composer = MessageComposer::newMsg();
|
||||
|
||||
composer->setTitleText(tr("You have a friend invite"));
|
||||
composer->setTitleText(tr("Invite message"));
|
||||
composer->msgFlags |= RS_MSG_USER_REQUEST;
|
||||
|
||||
|
||||
|
@ -2803,8 +2803,8 @@ void MessageComposer::sendInvite(const RsGxsId &to, const QString &/*msg*/, bool
|
|||
return;
|
||||
}
|
||||
}
|
||||
|
||||
//composer->show();
|
||||
else
|
||||
composer->show();
|
||||
|
||||
/* window will destroy itself! */
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue