mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Correct instance handling in reply
This commit is contained in:
parent
c4b88a2e0e
commit
42080189ed
@ -1383,7 +1383,7 @@ QJsonObject JsonAPI::getBasicCommandReply(bool success, const QString &command,
|
||||
reply["command"] = command;
|
||||
reply["tan"] = tan;
|
||||
|
||||
if (isInstanceCmd != InstanceCmd::No && !_noListener)
|
||||
if (isInstanceCmd == InstanceCmd::Yes || ( isInstanceCmd == InstanceCmd::Multi && !_noListener))
|
||||
{
|
||||
reply["instance"] = _hyperion->getInstanceIndex();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user