git ssb

16+

Dominic / patchbay



Tree: 2b5361aec49e8325c4f517d4b5ffcdd47901837e

Files: 2b5361aec49e8325c4f517d4b5ffcdd47901837e / modules / feed.js

485 bytesRaw
1var ref = require('ssb-ref')
2var ui = require('../ui')
3var Scroller = require('pull-scroll')
4
5var plugs = require('../plugs')
6var sbot_user_feed = plugs.first(exports.sbot_user_feed = [])
7var message_render = plugs.first(exports.message_render = [])
8
9exports.screen_view = function (id, sbot) {
10 //TODO: header of user info, avatars, names, follows.
11
12 if(ref.isFeed(id)) {
13 return ui.createStream(
14 sbot_user_feed({id: id, reverse: true}),
15 message_render
16 )
17 }
18}
19
20
21

Built with git-ssb-web