From 3adea2fd700e1a6356406321a5133db9eae2c7db Mon Sep 17 00:00:00 2001 From: Jon Beniston Date: Wed, 13 Jan 2021 20:53:10 +0000 Subject: [PATCH] Remove ChannelAPI reference, as no longer the case --- plugins/feature/afc/afc.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/feature/afc/afc.cpp b/plugins/feature/afc/afc.cpp index 7af948f64..1e0c1732a 100644 --- a/plugins/feature/afc/afc.cpp +++ b/plugins/feature/afc/afc.cpp @@ -135,8 +135,7 @@ bool AFC::handleMessage(const Message& cmd) qDebug() << "AFC::handleMessage: MessagePipesCommon::MsgReportChannelDeleted"; MessagePipesCommon::MsgReportChannelDeleted& report = (MessagePipesCommon::MsgReportChannelDeleted&) cmd; const MessagePipesCommon::ChannelRegistrationKey& channelKey = report.getChannelRegistrationKey(); - const ChannelAPI *channel = channelKey.m_key; - MainCore::instance()->getMessagePipes().unregisterChannelToFeature(channel, this, "settings"); + MainCore::instance()->getMessagePipes().unregisterChannelToFeature(channelKey.m_key, this, "settings"); return true; }