Commit 644b8222bca3871d183ca534426fa06d5228e26d
Revert "add getBlob stream"
This reverts commit d00438cdf6022bf891d4736b3765cf47e107afe4.Dominic Tarr committed on 4/11/2018, 3:16:10 AM
Parent: d47c6e10a9fe8fb04aee3e2736ee04a7f2896003
Files changed
sbot.js | changed |
sbot.js | ||
---|---|---|
@@ -34,10 +34,9 @@ | ||
34 | 34 … | messagesByType: true, |
35 | 35 … | feed: true, |
36 | 36 … | links: true, |
37 | 37 … | backlinks: true, |
38 | - stream: true, | |
39 | - getBlob: true | |
38 … | + stream: true | |
40 | 39 … | }, |
41 | 40 … | obs: { |
42 | 41 … | connectionStatus: true, |
43 | 42 … | connection: true, |
@@ -240,12 +239,9 @@ | ||
240 | 239 … | onceTrue(connection, function (connection) { |
241 | 240 … | stream.resolve(fn(connection)) |
242 | 241 … | }) |
243 | 242 … | return stream |
244 | - }, | |
245 | - getBlob: rec.source(function (opts) { | |
246 | - return sbot.blobs.get(opts) | |
247 | - }) | |
243 … | + } | |
248 | 244 … | }, |
249 | 245 … | obs: { |
250 | 246 … | connectionStatus: (listener) => connectionStatus(listener), |
251 | 247 … | connection, |
@@ -265,6 +261,4 @@ | ||
265 | 261 … | // api.sbot.hook.feed(msg) |
266 | 262 … | } |
267 | 263 … | } |
268 | 264 … | } |
269 | - | |
270 | - |
Built with git-ssb-web