mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-10-17 07:51:07 -04:00
added info about last time unsubscribed circles and forums have been advertised by subscribed friends
This commit is contained in:
parent
c9a92bc58a
commit
5292ff0af5
7 changed files with 49 additions and 4 deletions
|
@ -1065,6 +1065,11 @@ void GxsForumThreadWidget::updateForumDescription(bool success)
|
|||
forum_description += QString("<b>%1: \t</b>%2<br/>").arg(tr("Synchronization"),getDurationString( rsGxsForums->getSyncPeriod(group.mMeta.mGroupId)/86400 )) ;
|
||||
forum_description += QString("<b>%1: \t</b>%2<br/>").arg(tr("Storage"),getDurationString( rsGxsForums->getStoragePeriod(group.mMeta.mGroupId)/86400));
|
||||
}
|
||||
else
|
||||
{
|
||||
if(group.mMeta.mLastSeen > 0)
|
||||
forum_description += QString("<b>%1: \t</b>%2 days ago<br/>").arg(tr("Last seen at friends:"),QString::number((time(nullptr) - group.mMeta.mLastSeen)/86400));
|
||||
}
|
||||
|
||||
QString distrib_string = tr("[unknown]");
|
||||
switch(static_cast<RsGxsCircleType>(group.mMeta.mCircleType))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue