Commit 72c9455d001722028f5f6d179b22404f79de3c65
don't show mentions for unfollows
#776Matt McKegg committed on 4/15/2018, 3:14:14 AM
Parent: 0975af1e429bd7b240f035de3051d6ea2cf38c75
Files changed
modules/page/html/render/mentions.js | changed |
modules/page/html/render/mentions.js | ||
---|---|---|
@@ -24,9 +24,9 @@ | ||
24 | 24 | if (Array.isArray(msg.value.content.mentions) && msg.value.content.mentions.some(mention => { |
25 | 25 | return mention && mention.link === id |
26 | 26 | })) { |
27 | 27 | return 'mention' |
28 | - } else if (msg.value.content.type === 'contact') { | |
28 | + } else if (msg.value.content.type === 'contact' && msg.value.content.following === true) { | |
29 | 29 | return true |
30 | 30 | } else if (msg.value.content.type === 'about') { |
31 | 31 | return true |
32 | 32 | } |
Built with git-ssb-web