Merge pull request #4286 from pichalite/chat-dropdown

don't show rooms without messages
v1.18.x
Barış Soner Uşaklı 9 years ago
commit fecda8c051

@ -92,7 +92,9 @@ define('chat', ['components', 'taskbar', 'string', 'sounds', 'forum/chats', 'tra
return app.alertError(err.message);
}
var rooms = data.rooms;
var rooms = data.rooms.filter(function(room) {
return room.teaser;
});
chatsListEl.empty();

Loading…
Cancel
Save