git ssb

10+

Matt McKegg / patchwork



Commit 7b05904de35826ff191a15f884a7b89328afa6b9

Handle filter settings initial state gracefully

Michael LeGore committed on 9/18/2017, 8:23:51 PM
Parent: 753b6207164a2a3e5e07f5ea57b29a22559f9e4d

Files changed

modules/feed/html/rollup.jschanged
modules/feed/html/rollup.jsView
@@ -324,8 +324,10 @@
324324 return true
325325 }
326326
327327 function getFilter (filterSettings) {
328+ if(!filterSettings) return returnTrue
329+
328330 return function(msg) {
329331 return !(filterSettings.following && getType(msg) === 'contact')
330332 }
331333 }

Built with git-ssb-web