mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-25 23:06:10 -05:00
fixed bug causing lack of passwd request on group edit
This commit is contained in:
parent
499753f873
commit
43fbd6f76a
@ -143,6 +143,7 @@ struct RsGxsIdGroup : RsSerializable
|
||||
rstime_t mLastUsageTS ;
|
||||
|
||||
// Not Serialised - for GUI's benefit.
|
||||
bool mPgpLinked;
|
||||
bool mPgpKnown;
|
||||
bool mIsAContact; // change that into flags one day
|
||||
RsPgpId mPgpId;
|
||||
|
@ -2017,6 +2017,7 @@ bool p3IdService::getGroupData(const uint32_t &token, std::vector<RsGxsIdGroup>
|
||||
}
|
||||
|
||||
group.mIsAContact = (mContacts.find(RsGxsId(group.mMeta.mGroupId)) != mContacts.end());
|
||||
group.mPgpLinked = (!!(group.mMeta.mGroupFlags & RSGXSID_GROUPFLAG_REALID_kept_for_compatibility)) || !!(group.mMeta.mGroupFlags & RSGXSID_GROUPFLAG_REALID);
|
||||
|
||||
groups.push_back(group);
|
||||
delete(item);
|
||||
|
@ -637,7 +637,7 @@ void IdEditDialog::updateId()
|
||||
RsGxsId keyId;
|
||||
std::string gpg_password;
|
||||
|
||||
if(!mEditGroup.mPgpId.isNull())
|
||||
if(mEditGroup.mPgpLinked)
|
||||
{
|
||||
std::string gpg_name = rsPeers->getGPGName(rsPeers->getGPGOwnId());
|
||||
bool cancelled;
|
||||
|
Loading…
x
Reference in New Issue
Block a user