git ssb

10+

Matt McKegg / patchwork



Commit 3723faddb96c9a44deb63dd9d5bb03a5b33258e6

whoops, fix contact rootFilter

Matt McKegg committed on 10/14/2017, 1:53:24 PM
Parent: 24f0efaf138c8cd40da29e66b5a80571ca7fb6ce

Files changed

modules/page/html/render/public.jschanged
modules/page/html/render/public.jsView
@@ -85,9 +85,9 @@
8585 return isSubscribed || id === author || following().includes(author) || tagged
8686 }
8787 },
8888 rootFilter: function (msg) {
89- var filtered = filters() && !(filters().following && getType(msg) === 'contact')
89+ var filtered = filters() && filters().following && getType(msg) === 'contact'
9090 // skip messages that are directly replaced by the previous message
9191 // e.g. follow / unfollow in quick succession
9292 var isOutdated = isReplacementMessage(msg, lastMessage)
9393 if (!filtered && !isOutdated) {

Built with git-ssb-web