mirror of
				https://github.com/RetroShare/RetroShare.git
				synced 2025-10-30 22:29:00 -04:00 
			
		
		
		
	fixed merging with upstream
This commit is contained in:
		
						commit
						c555300c37
					
				
					 28 changed files with 1318 additions and 1131 deletions
				
			
		|  | @ -44,7 +44,6 @@ | |||
| 
 | ||||
| #include <retroshare/rsgxsforums.h> | ||||
| #include <retroshare/rsgrouter.h> | ||||
| #include <retroshare/rsreputations.h> | ||||
| #include <retroshare/rspeers.h> | ||||
| // These should be in retroshare/ folder.
 | ||||
| #include "retroshare/rsgxsflags.h" | ||||
|  | @ -791,7 +790,8 @@ void GxsForumThreadWidget::insertGroupData() | |||
|     tw->ui->forumName->setText(QString::fromUtf8(group.mMeta.mGroupName.c_str())); | ||||
| 
 | ||||
|     QString anti_spam_features1 ; | ||||
|     if(IS_GROUP_PGP_AUTHED(tw->mSignFlags)) anti_spam_features1 = tr("Anonymous IDs reputation threshold set to 0.4"); | ||||
|     if(IS_GROUP_PGP_KNOWN_AUTHED(tw->mSignFlags)) anti_spam_features1 = tr("Anonymous/unknown node IDs reputation threshold set to 0.4"); | ||||
|     else if(IS_GROUP_PGP_AUTHED(tw->mSignFlags)) anti_spam_features1 = tr("Anonymous IDs reputation threshold set to 0.4"); | ||||
|              | ||||
|     QString anti_spam_features2 ; | ||||
|     if(IS_GROUP_MESSAGE_TRACKING(tw->mSignFlags)) anti_spam_features2 = tr("Message routing info kept for 10 days"); | ||||
|  | @ -996,7 +996,7 @@ QTreeWidgetItem *GxsForumThreadWidget::convertMsgToThreadWidget(const RsGxsForum | |||
|     // is flagged with a bad reputation
 | ||||
|      | ||||
|      | ||||
|     bool redacted =  rsReputations->isIdentityBanned(msg.mMeta.mAuthorId) ; | ||||
|     bool redacted = rsIdentity->isBanned(msg.mMeta.mAuthorId) ; | ||||
|                  | ||||
|     GxsIdRSTreeWidgetItem *item = new GxsIdRSTreeWidgetItem(mThreadCompareRole,GxsIdDetails::ICON_TYPE_ALL || (redacted?(GxsIdDetails::ICON_TYPE_REDACTED):0)); | ||||
| 	item->moveToThread(ui->threadTreeWidget->thread()); | ||||
|  | @ -1419,7 +1419,7 @@ void GxsForumThreadWidget::insertMessageData(const RsGxsForumMsg &msg) | |||
| 		return; | ||||
| 	} | ||||
| 
 | ||||
|     bool redacted = rsReputations->isIdentityBanned(msg.mMeta.mAuthorId) ; | ||||
|     bool redacted = rsIdentity->isBanned(msg.mMeta.mAuthorId) ; | ||||
|      | ||||
| 	mStateHelper->setActive(mTokenTypeMessageData, true); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 csoler
						csoler