title: Ratchet WAMP onpublish always publish to all clients include the publish caller or not?
body: <p>I have just made a chat hello world for the Ratchet WAMP + autobahn version 1.<br>
  <a href="https://bitbucket.org/jasper2virtual/wamp_chatserver1/src" rel="nofollow noreferrer">full source code here if you want to see</a>    </p>
  
  <p>The JavaScript client send chat message:    </p>
  
  <blockquote>
  <pre><code>           function click_send_btn() {
                   var json_data = {
                      "message": $.trim($("#input_message").val())
                   };
              sess.publish("send_message", json_data, true);
              }
  </code></pre>
  </blockquote>
  
  <p>The PHP Ratchet server publish the message:    </p>
  
  <blockquote>
  <pre><code>public function onPublish(\Ratchet\ConnectionInterface $conn, $topic, $event, array $exclude, array $eligible) {
      switch ($topic) {
          case 'http://localhost/enter_room':
              $foundChater = $this-&gt;allChater[$conn];
              $newChaterName = $event['username'];
              $foundChater-&gt;setChatName($newChaterName);
              break;
          case 'send_message':
              $foundChater = $this-&gt;allChater[$conn];
              $event['username']=$foundChater-&gt;getChatName();
              break;
      }
      $topic-&gt;broadcast($event);
      echo "onPublish {$conn-&gt;resourceId}\n";
  }
  </code></pre>
  </blockquote>
  
  <p><img src="https://i.stack.imgur.com/SrB0B.png" alt="enter image description here">    </p>
  
  <p>I don't understand why publish with excludeme not working.<br>
  In the above 2 firefox, right firefox said: I am bar. The message should not display at himself, but it is.</p>
  
  <p><a href="http://autobahn.ws/js/reference_wampv1.html#id3" rel="nofollow noreferrer">doc ref: autobahn version 1 javascript publish with excludeme</a>    </p>
  
  <p><a href="http://socketo.me/api/class-Ratchet.Wamp.WampServerInterface.html#_onPublish" rel="nofollow noreferrer">doc ref: ratchet onpublish</a>    </p>
  
  <p><a href="http://socketo.me/api/class-Ratchet.Wamp.Topic.html#_broadcast" rel="nofollow noreferrer">doc ref: ratchet topic broadcast</a>    </p>