git ssb

10+

Matt McKegg / patchwork



Commit 56b8551c26f79bf9916918f2d7cb50aa0f9e9734

whoops, exclude private messages from "pending updates" on public feed

Matt McKegg committed on 10/25/2017, 10:35:44 AM
Parent: bdee82e994ee3ce0e26e552ad2fba8393f32ce45

Files changed

sbot/roots.jschanged
sbot/roots.jsView
@@ -48,9 +48,11 @@
4848
4949 // FILTER ROOTS
5050 pull.filter(item => {
5151 var root = item.root || item
52- if (filter && root && root.value) {
52+ var isPrivate = root.value && typeof root.value.content === 'string'
53+
54+ if (filter && root && root.value && !isPrivate) {
5355 return checkReplyForcesDisplay(item) || filter(ids, root)
5456 }
5557 })
5658 ))

Built with git-ssb-web