mirror of
https://github.com/RetroShare/RetroShare.git
synced 2026-09-14 11:06:01 +05:00
desactivated thewire from default compilation
This commit is contained in:
parent
be244c15e3
commit
a554aa4fc3
@ -223,9 +223,10 @@ void NewsFeed::handleEvent_main_thread(std::shared_ptr<const RsEvent> event)
|
||||
|
||||
if(event->mType == RsEventType::MAIL_STATUS && (!!(flags & RsFeedTypeFlags::RS_FEED_TYPE_MSG)))
|
||||
handleMailEvent(event);
|
||||
|
||||
#ifdef RS_USE_WIRE
|
||||
if(event->mType == RsEventType::WIRE && (!!(flags & RsFeedTypeFlags::RS_FEED_TYPE_WIRE)))
|
||||
handleWireEvent(event);
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
@ -514,6 +515,7 @@ void NewsFeed::handleSecurityEvent(std::shared_ptr<const RsEvent> event)
|
||||
MessageComposer::addConnectAttemptMsg(e.mPgpId, e.mSslId, QString::fromStdString(det.name + "(" + det.location + ")"));
|
||||
}
|
||||
|
||||
#ifdef RS_USE_WIRE
|
||||
void NewsFeed::handleWireEvent(std::shared_ptr<const RsEvent> event)
|
||||
{
|
||||
const RsWireEvent *pe =
|
||||
@ -541,6 +543,7 @@ void NewsFeed::handleWireEvent(std::shared_ptr<const RsEvent> event)
|
||||
}
|
||||
sendNewsFeedChanged();
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
void NewsFeed::testFeeds(RsFeedTypeFlags /*notifyFlags*/)
|
||||
|
||||
@ -108,7 +108,9 @@ private:
|
||||
void handleMailEvent(std::shared_ptr<const RsEvent> event);
|
||||
void handlePostedEvent(std::shared_ptr<const RsEvent> event);
|
||||
void handleChannelEvent(std::shared_ptr<const RsEvent> event);
|
||||
#ifdef RS_USE_WIRE
|
||||
void handleWireEvent(std::shared_ptr<const RsEvent> event);
|
||||
#endif
|
||||
|
||||
void addFeedItem(FeedItem *item);
|
||||
void addFeedItemIfUnique(FeedItem *item, bool replace);
|
||||
|
||||
@ -1524,7 +1524,7 @@ static void processList(const QStringList &list, const QString &textSingular, co
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
#ifdef RS_USE_WIRE
|
||||
case TYPE_WIRE:
|
||||
{
|
||||
#ifdef DEBUG_RSLINK
|
||||
@ -1552,6 +1552,7 @@ static void processList(const QStringList &list, const QString &textSingular, co
|
||||
}
|
||||
}
|
||||
break;
|
||||
#endif
|
||||
|
||||
case TYPE_SEARCH:
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user