diff --git a/js/client-chat.js b/js/client-chat.js index 987d322ac..54bb332df 100644 --- a/js/client-chat.js +++ b/js/client-chat.js @@ -574,6 +574,11 @@ this.parseUserList(row[1]); break; + case 'formats': + // deprecated; please send formats to the global room + app.parseFormats(row); + break; + case 'raw': this.$chat.append('
' + Tools.sanitizeHTML(row.slice(1).join('|')) + '
'); break; diff --git a/js/client.js b/js/client.js index eb24aa5fc..02f48d89b 100644 --- a/js/client.js +++ b/js/client.js @@ -447,6 +447,9 @@ } else if (data.battlelog) { self.rooms[data.room].init(data.battlelog.join('\n')); } + if (data.u) { + self.rooms[data.room].parseUserList(data.u); + } } }, update: function (data) {