git ssb

16+

Dominic / patchbay



Commit 423cc7568f0fc24488b6965030e1a93560d534fc

Better error handling and bump patchcore for bugfix

Anders Rune Jensen committed on 4/27/2018, 8:22:00 AM
Parent: 0c8170ba0a21c43a0ced6048c04d79e7c03cee13

Files changed

app/html/filter.jschanged
package-lock.jsonchanged
package.jsonchanged
app/html/filter.jsView
@@ -164,10 +164,10 @@
164164
165165 function followFilter (msg) {
166166 if (!filterSettings().only.peopleAndChannelsIFollow) return true
167167
168- return Array.from(peopleIFollow()).concat(myId).includes(msg.value.author) ||
169- (msg.value.content && Array.from(channelsIFollow()).includes(msg.value.content.channel))
168 + return (msg.value && Array.from(peopleIFollow()).concat(myId).includes(msg.value.author)) ||
169 + (msg.value && msg.value.content && Array.from(channelsIFollow()).includes(msg.value.content.channel))
170170 }
171171
172172 function userFilter (msg) {
173173 const id = resolve(userId)
@@ -207,8 +207,9 @@
207207
208208 function filterDownThrough () {
209209 return pull(
210210 downScrollAborter,
211 + pull.filter(msg => msg),
211212 pull.filter(followFilter),
212213 pull.filter(userFilter),
213214 pull.filter(rootFilter),
214215 pull.filter(channelFilter),
@@ -220,8 +221,9 @@
220221
221222 function filterUpThrough () {
222223 return pull(
223224 upScrollAborter,
225 + pull.filter(msg => msg),
224226 pull.filter(followFilter),
225227 pull.filter(userFilter),
226228 pull.filter(rootFilter),
227229 pull.filter(channelFilter),
package-lock.jsonView
The diff is too large to show. Use a local git client to view these changes.
Old file size: 299842 bytes
New file size: 301500 bytes
package.jsonView
@@ -63,9 +63,9 @@
6363 "patch-settings": "^1.1.1",
6464 "patch-suggest": "^1.1.0",
6565 "patchbay-book": "^1.0.5",
6666 "patchbay-gatherings": "^2.0.0",
67- "patchcore": "^1.26.0",
67 + "patchcore": "^1.26.1",
6868 "pull-abortable": "^4.1.1",
6969 "pull-cat": "^1.1.11",
7070 "pull-next": "^1.0.0",
7171 "pull-scroll": "^1.0.9",

Built with git-ssb-web