Commit 56281fc6758e5edb39a262b90900a7e5f0bed393
Show backlinks from messages of all types
Charles Lehner committed on 9/9/2016, 4:20:14 PMParent: 73c3ab054f0fd65bbee61b9f703eaf2e489b9dbd
Files changed
modules/message.js | changed |
modules/message.js | |||
---|---|---|---|
@@ -19,9 +19,9 @@ | |||
19 | 19 … | ||
20 | 20 … | var links = [] | |
21 | 21 … | for(var k in CACHE) { | |
22 | 22 … | var _msg = CACHE[k] | |
23 | - if(_msg.content.type == 'post' && Array.isArray(_msg.content.mentions)) { | ||
23 … | + if(Array.isArray(_msg.content.mentions)) { | ||
24 | 24 … | for(var i = 0; i < _msg.content.mentions.length; i++) | |
25 | 25 … | if(_msg.content.mentions[i].link == msg.key) | |
26 | 26 … | links.push(k) | |
27 | 27 … | } |
Built with git-ssb-web