mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-22 22:21:09 -04:00
replaced the few bools in RsIdentityDetail by a set of flags
This commit is contained in:
parent
738dadadc9
commit
1de55d8fc5
9 changed files with 32 additions and 33 deletions
|
@ -1333,7 +1333,7 @@ static void processList(const QStringList &list, const QString &textSingular, co
|
|||
|
||||
if(!gxs_id.isNull() && rsIdentity->getIdDetails(gxs_id,gxs_details))
|
||||
{
|
||||
if(gxs_details.mIsOwnId)
|
||||
if(gxs_details.mFlags & RS_IDENTITY_FLAGS_IS_OWN_ID)
|
||||
{
|
||||
QMessageBox::warning(NULL,QString("Cannot send message to yourself"),QString("This identity is owned by you. You wouldn't want to send yourself a message right?"));
|
||||
break ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue