diff options
Diffstat (limited to 'lib/app.js')
-rw-r--r-- | lib/app.js | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -191,6 +191,11 @@ App.prototype.getReverseNameSync = function (name) { return id } +App.prototype.getNameSync = function (name) { + var about = this.aboutCache.get(name) + return about && about.name +} + function getMsgWithValue(sbot, id, cb) { if (!id) return cb() sbot.get(id, function (err, value) { |