mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-13 08:35:45 -04:00
added a FeedItem to warn when publish permissions are received for a channel
This commit is contained in:
parent
aad9397ef8
commit
3bc5b456a5
4 changed files with 77 additions and 40 deletions
|
@ -23,6 +23,7 @@
|
|||
#include "ui_GxsChannelGroupItem.h"
|
||||
|
||||
#include "FeedHolder.h"
|
||||
#include "gui/NewsFeed.h"
|
||||
#include "gui/RetroShareLink.h"
|
||||
|
||||
/****
|
||||
|
@ -144,14 +145,14 @@ void GxsChannelGroupItem::fill()
|
|||
ui->subscribeButton->setEnabled(true);
|
||||
}
|
||||
|
||||
// if (mIsNew)
|
||||
// {
|
||||
ui->titleLabel->setText(tr("New Channel"));
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// ui->titleLabel->setText(tr("Updated Channel"));
|
||||
// }
|
||||
switch(mFeedId)
|
||||
{
|
||||
case NEWSFEED_CHANNELPUBKEYLIST: ui->titleLabel->setText(tr("Publish permission received for channel: "));
|
||||
break ;
|
||||
|
||||
case NEWSFEED_CHANNELNEWLIST: ui->titleLabel->setText(tr("New Channel: "));
|
||||
break ;
|
||||
}
|
||||
|
||||
if (mIsHome)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue