1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-06-27 21:05:53 +00:00

3.5.169. Oops. Haven't commited in a while :< Did... stuff? And things.

This commit is contained in:
SirStendec 2016-05-06 02:23:12 -04:00
parent 4086a2e9fd
commit 8056463bbe
28 changed files with 908 additions and 508 deletions

View file

@ -153,10 +153,12 @@ FFZ.prototype.ws_create = function() {
// Send the current rooms.
for(var room_id in f.rooms) {
if ( ! f.rooms.hasOwnProperty(room_id) || ! f.rooms[room_id] )
var room = f.rooms[room_id];
if ( ! f.rooms.hasOwnProperty(room_id) || ! room )
continue;
f.ws_send("sub", "room." + room_id);
room.room && room.room.ffzSubscribe && room.room.ffzSubscribe();
//f.ws_send("sub", "room." + room_id);
if ( f.rooms[room_id].needs_history ) {
f.rooms[room_id].needs_history = false;