Correctly set message text

There might be multiple parts to each message, e.g. if a plugin colourises
some parts of a message.
This commit is contained in:
Lorenz Hübschle-Schneider 2014-02-19 22:08:07 +00:00
parent 5b5082dfd4
commit c5e548c8ab
1 changed files with 2 additions and 2 deletions

View File

@ -238,8 +238,8 @@ models.service('models', ['$rootScope', '$filter', function($rootScope, $filter)
}
var rtext = "";
if (content[0] !== undefined) {
rtext = content[0].text;
for (var i = 0; i < content.length; ++i) {
rtext += content[i].text;
}
return {