Files: 134d423c26820a78c6bbfbc506df577e0673b6b2 / modules / feed.js
312 bytesRaw
1 | var ref = require('ssb-ref') |
2 | var ui = require('../ui') |
3 | |
4 | exports.screen_view = function (id, sbot) { |
5 | if(ref.isFeed(id)) |
6 | return ui.createStream( |
7 | sbot.createUserStream({id: id, limit: 100, reverse: true}), |
8 | ui.createRenderers(exports.message_render, sbot) |
9 | ) |
10 | } |
11 | |
12 | exports.message_render = [] |
13 | |
14 | |
15 | |
16 | |
17 | |
18 |
Built with git-ssb-web