git ssb

2+

mixmix / ticktack



Commit 9b7b6df024c1c91b5fa96dbbe3c3cbf1e5000f18

issue #70: My subscriptions working.

andre alves garzia committed on 2/2/2018, 1:52:59 AM
Parent: 36aff4f6d5e62e8ff308689bdfb6baea9413881e

Files changed

app/html/sideNav/sideNavDiscovery.jschanged
background-process.jschanged
app/html/sideNav/sideNavDiscovery.jsView
@@ -45,8 +45,9 @@
4545 if (location.page) {
4646 if (location.page.match(/^blog/)) return true
4747 if (location.page.match(/^thread/)) return true
4848 if (location.page.match(/^user/)) return true
49+ if (location.page.match(/^channel/)) return true
4950 }
5051 if (location.key) {
5152 return true
5253 }
@@ -137,9 +138,9 @@
137138 imageEl: h('i', [
138139 h('img', { src: path.join(__dirname, '../../../assets', 'discover.png') })
139140 ]),
140141 label: "My subscriptions",
141- selected: isDiscoverSideNav(location),
142+ selected: isDiscoverLocation(location),
142143 location: { page: 'channelSubscriptions', scope: 'user' },
143144 }),
144145
145146 // Friends subscriptions
@@ -147,9 +148,9 @@
147148 imageEl: h('i', [
148149 h('img', { src: path.join(__dirname, '../../../assets', 'discover.png') })
149150 ]),
150151 label: "Friends subscriptions",
151- selected: isDiscoverSideNav(location),
152+ selected: isDiscoverLocation(location),
152153 location: { page: 'channelSubscriptions', scope: 'friends' },
153154 })
154155 ]
155156
background-process.jsView
@@ -16,8 +16,9 @@
1616 .use(require('ssb-query'))
1717 .use(require('ssb-about'))
1818 // .use(require('ssb-ebt'))
1919 .use(require('ssb-ws'))
20+ .use(require('ssb-server-channels'))
2021
2122 // pull config options out of depject
2223 var config = require('./config').create().config.sync.load()
2324

Built with git-ssb-web