Commit 3723faddb96c9a44deb63dd9d5bb03a5b33258e6
whoops, fix contact rootFilter
Matt McKegg committed on 10/14/2017, 1:53:24 PMParent: 24f0efaf138c8cd40da29e66b5a80571ca7fb6ce
Files changed
modules/page/html/render/public.js | changed |
modules/page/html/render/public.js | ||
---|---|---|
@@ -85,9 +85,9 @@ | ||
85 | 85 | return isSubscribed || id === author || following().includes(author) || tagged |
86 | 86 | } |
87 | 87 | }, |
88 | 88 | rootFilter: function (msg) { |
89 | - var filtered = filters() && !(filters().following && getType(msg) === 'contact') | |
89 | + var filtered = filters() && filters().following && getType(msg) === 'contact' | |
90 | 90 | // skip messages that are directly replaced by the previous message |
91 | 91 | // e.g. follow / unfollow in quick succession |
92 | 92 | var isOutdated = isReplacementMessage(msg, lastMessage) |
93 | 93 | if (!filtered && !isOutdated) { |
Built with git-ssb-web