{"action":"created","issue":{"url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/issues/75","labels_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/issues/75/comments","events_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/issues/75/events","html_url":"https://github.com/miguelgrinberg/Flask-SocketIO/issues/75","id":50343744,"number":75,"title":"Broadcast message to all users except for sender","user":{"login":"machow","id":2574498,"avatar_url":"https://avatars.githubusercontent.com/u/2574498?v=3","gravatar_id":"","url":"https://api.github.com/users/machow","html_url":"https://github.com/machow","followers_url":"https://api.github.com/users/machow/followers","following_url":"https://api.github.com/users/machow/following{/other_user}","gists_url":"https://api.github.com/users/machow/gists{/gist_id}","starred_url":"https://api.github.com/users/machow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/machow/subscriptions","organizations_url":"https://api.github.com/users/machow/orgs","repos_url":"https://api.github.com/users/machow/repos","events_url":"https://api.github.com/users/machow/events{/privacy}","received_events_url":"https://api.github.com/users/machow/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-11-28T06:08:05Z","updated_at":"2015-11-03T20:43:05Z","closed_at":"2015-11-02T02:27:42Z","body":"Hello,\r\nYou mentioned to a user [on your blog](http://blog.miguelgrinberg.com/post/easy-websockets-with-flask-and-gevent/page/5) that they should submit this issue on github, but I couldn't find it--so just wanted to submit it for them ;). \r\n\r\nThe third snippet of [this SO post](http://stackoverflow.com/a/10099325/1144523) shows how it can be done using the original socket.io server:\r\n\r\n```\r\n// sending to all clients, include sender\r\nio.sockets.emit('message', \"this is a test\");\r\n\r\n// sending to all clients except sender\r\nsocket.broadcast.emit('message', \"this is a test\");\r\n```\r\n\r\nWould this be possible to implement here? I'm not sure if this falls in the domain of this flask extension or gevent-socketio, as my websocket skills are fairly poor--but I'm happy to try to implement it if you have a sense for where it should go."},"comment":{"url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/issues/comments/153481972","html_url":"https://github.com/miguelgrinberg/Flask-SocketIO/issues/75#issuecomment-153481972","issue_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/issues/75","id":153481972,"user":{"login":"comountainclimber","id":13072035,"avatar_url":"https://avatars.githubusercontent.com/u/13072035?v=3","gravatar_id":"","url":"https://api.github.com/users/comountainclimber","html_url":"https://github.com/comountainclimber","followers_url":"https://api.github.com/users/comountainclimber/followers","following_url":"https://api.github.com/users/comountainclimber/following{/other_user}","gists_url":"https://api.github.com/users/comountainclimber/gists{/gist_id}","starred_url":"https://api.github.com/users/comountainclimber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/comountainclimber/subscriptions","organizations_url":"https://api.github.com/users/comountainclimber/orgs","repos_url":"https://api.github.com/users/comountainclimber/repos","events_url":"https://api.github.com/users/comountainclimber/events{/privacy}","received_events_url":"https://api.github.com/users/comountainclimber/received_events","type":"User","site_admin":false},"created_at":"2015-11-03T20:43:05Z","updated_at":"2015-11-03T20:43:05Z","body":"<pre> socketServer.to(data.destination).emit(include_self=false,'keyPressEmission', data) </pre>\r\n\r\nso this worked perfectly thank you!"}}