[Slim-Checkins] r12624 - /trunk/server/Slim/Web/Cometd.pm

andy at svn.slimdevices.com andy at svn.slimdevices.com
Mon Aug 20 14:01:21 PDT 2007


Author: andy
Date: Mon Aug 20 14:01:21 2007
New Revision: 12624

URL: http://svn.slimdevices.com?rev=12624&view=rev
Log:
Send the subscription name in the /meta/subscribe confirmation

Modified:
    trunk/server/Slim/Web/Cometd.pm

Modified: trunk/server/Slim/Web/Cometd.pm
URL: http://svn.slimdevices.com/trunk/server/Slim/Web/Cometd.pm?rev=12624&r1=12623&r2=12624&view=diff
==============================================================================
--- trunk/server/Slim/Web/Cometd.pm (original)
+++ trunk/server/Slim/Web/Cometd.pm Mon Aug 20 14:01:21 2007
@@ -312,10 +312,11 @@
 				}
 				else {
 					push @{$events}, {
-						channel    => '/meta/subscribe',
-						clientId   => $clid,
-						successful => JSON::True,
-						ext        => $obj->{ext},
+						channel      => '/meta/subscribe',
+						clientId     => $clid,
+						successful   => JSON::True,
+						subscription => $subscription, # XXX: out of spec but should be sent!
+						ext          => $obj->{ext},
 					};
 					
 					# If the request was not async, we can add it now



More information about the checkins mailing list