Commit 1f8e7bb580d31f7db5b1bf4ffc2b86254aaa577e
Include self in people I follow filtering as its quite counter-intuitive otherwise
Anders Rune Jensen committed on 1/18/2018, 2:05:23 PMParent: 4a598f0f005da7b63198dc16c60e971cfc8b2b67
Files changed
app/html/filter.js | changed |
app/html/filter.js | ||
---|---|---|
@@ -132,9 +132,9 @@ | ||
132 | 132 … | |
133 | 133 … | function followFilter (msg) { |
134 | 134 … | if (!filterSettings().only.peopleIFollow) return true |
135 | 135 … | |
136 | - return Array.from(peopleIFollow()).includes(msg.value.author) | |
136 … | + return Array.from(peopleIFollow()).concat(myId).includes(msg.value.author) | |
137 | 137 … | } |
138 | 138 … | |
139 | 139 … | function channelFilter (msg) { |
140 | 140 … | var filters = filterSettings().exclude.channels |
Built with git-ssb-web