git ssb

10+

Matt McKegg / patchwork



Commit 72c9455d001722028f5f6d179b22404f79de3c65

don't show mentions for unfollows

#776
Matt McKegg committed on 4/15/2018, 3:14:14 AM
Parent: 0975af1e429bd7b240f035de3051d6ea2cf38c75

Files changed

modules/page/html/render/mentions.jschanged
modules/page/html/render/mentions.jsView
@@ -24,9 +24,9 @@
2424 if (Array.isArray(msg.value.content.mentions) && msg.value.content.mentions.some(mention => {
2525 return mention && mention.link === id
2626 })) {
2727 return 'mention'
28- } else if (msg.value.content.type === 'contact') {
28+ } else if (msg.value.content.type === 'contact' && msg.value.content.following === true) {
2929 return true
3030 } else if (msg.value.content.type === 'about') {
3131 return true
3232 }

Built with git-ssb-web