git ssb

7+

dinoworm 🐛 / patchcore



Commit 4afee98499ce44b3d44d51387f444b11f537b05a

Merge pull request #7 from pietgeursen/sbot-gives-messageByType

sbot gives messagesByType function
mix irving authored on 4/3/2017, 2:36:55 AM
GitHub committed on 4/3/2017, 2:36:55 AM
Parent: ab512c6473ad4ed1ba9143dc61c51545cf6ce781
Parent: 32b164d60557329be7e8cfcbcffc9b0644742e2b

Files changed

sbot.jschanged
sbot.jsView
@@ -27,8 +27,9 @@
2727 },
2828 pull: {
2929 log: true,
3030 userFeed: true,
31 + messagesByType: true,
3132 query: true,
3233 feed: true,
3334 links: true,
3435 search: true,
@@ -176,8 +177,11 @@
176177 }),
177178 userFeed: rec.source(opts => {
178179 return sbot.createUserStream(opts)
179180 }),
181 + messagesByType: rec.source(opts => {
182 + return sbot.messagesByType(opts)
183 + }),
180184 feed: rec.source(function (opts) {
181185 return pull(
182186 sbot.createFeedStream(opts),
183187 pull.through(runHooks)

Built with git-ssb-web