desactivated thewire from default compilation

This commit is contained in:
csoler 2026-03-03 17:41:13 +01:00
parent be244c15e3
commit a554aa4fc3
3 changed files with 8 additions and 2 deletions

View File

@ -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*/)

View File

@ -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);

View File

@ -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:
{