From 57c80659bb02d029c077c0658b1353cfcbe41e30 Mon Sep 17 00:00:00 2001 From: cel Date: Sat, 8 Apr 2017 18:29:52 -0700 Subject: Improve message title compuation Prefer About info for non-textual messages --- lib/app.js | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/app.js') diff --git a/lib/app.js b/lib/app.js index 6314284..b3cd1b1 100644 --- a/lib/app.js +++ b/lib/app.js @@ -146,6 +146,7 @@ App.prototype.getReverseNameSync = function (name) { } function getMsgWithValue(sbot, id, cb) { + if (!id) return cb() sbot.get(id, function (err, value) { if (err) return cb(err) cb(null, {key: id, value: value}) -- cgit v1.2.3