aboutsummaryrefslogtreecommitdiff
path: root/lib/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/app.js')
-rw-r--r--lib/app.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/app.js b/lib/app.js
index 5d8af70..d994d04 100644
--- a/lib/app.js
+++ b/lib/app.js
@@ -109,6 +109,10 @@ App.prototype.addBlob = function (cb) {
)
}
+App.prototype.pushBlob = function (id, cb) {
+ this.sbot.blobs.push(id, cb)
+}
+
function getMsgWithValue(sbot, id, cb) {
sbot.get(id, function (err, value) {
if (err) return cb(err)