Skip to content

Commit

Permalink
Remove dependency between AuthManager and SSDPHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
Lord-Grey committed Sep 7, 2024
1 parent f87ae2c commit 603f6c9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions libsrc/ssdp/SSDPHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "SSDPDescription.h"
#include <hyperion/Hyperion.h>
#include <HyperionConfig.h>
#include <hyperion/AuthManager.h>
#include <db/MetaTable.h>

#include <QNetworkInterface>
#if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0))
Expand Down Expand Up @@ -40,7 +40,8 @@ SSDPHandler::~SSDPHandler()

void SSDPHandler::initServer()
{
_uuid = AuthManager::getInstance()->getID();
MetaTable metaTable;
_uuid = metaTable.getUUID();
SSDPServer::setUuid(_uuid);

// announce targets
Expand Down

0 comments on commit 603f6c9

Please sign in to comment.