git ssb

16+

Dominic / patchbay



Commit 47fc18ed234093a4d2a1bfb244f2f01893562894

Fix channel view

cel committed on 12/10/2016, 7:25:21 PM
Parent: 83245c062d376c4be49099e9af5aeb085c8eb681

Files changed

modules_extra/channel.jschanged
modules_extra/channel.jsView
@@ -3,14 +3,8 @@
33 var pull = require('pull-stream')
44 var Scroller = require('pull-scroll')
55 var mfr = require('map-filter-reduce')
66
7-//var plugs = require('../plugs')
8-//var message_render = plugs.first(exports.message_render = [])
9-//var message_compose = plugs.first(exports.message_compose = [])
10-//var sbot_log = plugs.first(exports.sbot_log = [])
11-//var sbot_query = plugs.first(exports.sbot_query = [])
12-
137 exports.needs = {
148 message_render: 'first',
159 message_compose: 'first',
1610 sbot_log: 'first',
@@ -60,16 +54,16 @@
6054
6155 pull(
6256 api.sbot_log({old: false}),
6357 pull.filter(matchesChannel),
64- Scroller(div, content, message_render, true, false)
58 + Scroller(div, content, api.message_render, true, false)
6559 )
6660
6761 pull(
6862 api.sbot_query({reverse: true, query: [
6963 {$filter: {value: {content: {channel: channel}}}}
7064 ]}),
71- Scroller(div, content, message_render, false, false)
65 + Scroller(div, content, api.message_render, false, false)
7266 )
7367
7468 return div
7569 }

Built with git-ssb-web