diff options
Diffstat (limited to 'lib/render-msg.js')
-rw-r--r-- | lib/render-msg.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/render-msg.js b/lib/render-msg.js index 380d451..cbdf002 100644 --- a/lib/render-msg.js +++ b/lib/render-msg.js @@ -313,7 +313,7 @@ RenderMsg.prototype.title = function (cb) { RenderMsg.prototype.getAboutName = function (id, cb) { this.app.getAbout(id, function (err, about) { - cb(err, about && about.name || String(id).substr(1, 8) + '…') + cb(err, about && about.name || (String(id).substr(0, 8) + '…')) }) } |