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