[WAMP] Topic subscription bug fix

This commit is contained in:
Chris Boden 2012-07-20 10:23:45 -04:00
parent dd8a59df69
commit 1505124954
2 changed files with 4 additions and 7 deletions

View File

@ -8,16 +8,12 @@ CHANGELOG
---
* wamp-topics (devel branch)
* BC: Renamed "WampServer" to "ServerProtocol"
* BC: New "WampServer" component manages Topic containers of subscribed Connections
* 0.2 (2012-TBD)
* 0.2 (2012-07-TBD)
* Ratchet passes every non-binary-frame test from the Autobahn Testsuite
* Major performance improvements
* Ratchet now relies on all stable dependancies
* BC: Renamed "WampServer" to "ServerProtocol"
* BC: New "WampServer" component passes Topic container objects of subscribed Connections
* Option to turn off UTF-8 checks in order to increase performance
* mbstring no longer required

View File

@ -43,6 +43,7 @@ class TopicManager implements WsServerInterface, WampServerInterface {
return;
}
$this->topicLookup[$topic]->add($conn);
$conn->WAMP->topics->attach($topicObj);
$this->app->onSubscribe($conn, $topicObj);
}