Permalink
Browse files

Bug fixed

  • Loading branch information...
1 parent 286bc4f commit 643cdf8edc93929623a4f8f03bbf05d2013235c6 @tegioz committed Sep 30, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 static/js/main.js
View
@@ -16,6 +16,9 @@
socket.on('connected', function (data) {
console.log(data);
+ // Get users connected to mainroom
+ socket.emit('getUsersInRoom', {'room':'MainRoom'});
+
if (debug) {
// Subscription to rooms
socket.emit('subscribe', {'username':'sergio', 'rooms':['sampleroom']});

0 comments on commit 643cdf8

Please sign in to comment.