mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-26 15:28:28 -05:00
make only default opinion to be changed to positive for contacts (optionally)
This commit is contained in:
parent
8505561700
commit
ca50944ddf
@ -688,7 +688,11 @@ bool p3IdService::getIdDetails(const RsGxsId &id, RsIdentityDetails &details)
|
||||
// the ones in the contact list. So we change them on demand.
|
||||
|
||||
if(is_a_contact && rsReputations->nodeAutoPositiveOpinionForContacts())
|
||||
{
|
||||
RsReputations::Opinion op ;
|
||||
if(rsReputations->getOwnOpinion(id,op) && op == RsReputations::OPINION_NEUTRAL)
|
||||
rsReputations->setOwnOpinion(id,RsReputations::OPINION_POSITIVE) ;
|
||||
}
|
||||
|
||||
std::map<RsGxsId,keyTSInfo>::const_iterator it = mKeysTS.find(id) ;
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
||||
<string><html><head/><body><p>Anyone in your contact list will automatically have a positive opinion if not set. This allows to automatically raise reputations of used nodes. </p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>automatically give "Positive" opinion to my contacts</string>
|
||||
<string>use "positive" as the default opinion for contacts (instead of neutral)</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
|
Loading…
x
Reference in New Issue
Block a user