1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-09 23:34:20 +00:00

CIDevice: Avoid including subscribeId in replies to subscription messages

This commit is contained in:
reuk 2024-01-08 21:07:34 +00:00
parent c7b975c525
commit 16d5e4e2a6
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C

View file

@ -927,7 +927,6 @@ private:
device->listeners.call ([source, &data] (auto& l) { l.propertySubscriptionDataReceived (source, data); });
PropertyReplyHeader header;
header.extended["subscribeId"] = subscribeId;
const auto headerBytes = Encodings::jsonTo7BitText (header.toVarCondensed());
detail::MessageTypeUtils::send (device->concreteBufferOutput,
@ -1192,6 +1191,9 @@ private:
if (! primed.isValid())
return;
// TODO(reuk) this isn't ideal, make subscription/request handling more robust
primed.token.release();
detail::PropertyHostUtils::send (concreteBufferOutput,
options.getFunctionBlock().firstGroup,
detail::MessageMeta::Meta<Message::PropertySubscribe>::subID2,