git ssb

0+

dangerousbeans / yap



forked from Dominic / yap

Commit 05bc69d3a28ccba462fa7532de0438207d41ccdd

do not show avatar for ambigious names

Dominic Tarr committed on 2/22/2019, 11:56:28 PM
Parent: d56f186e1728cbc5cc969e8ac104de5d29e0c373

Files changed

apis/mentions.jschanged
apis/mentions.jsView
@@ -19,11 +19,11 @@
1919 function toPath () {
2020 return '['+[].join.call(arguments, '][')+']'
2121 }
2222
23-
2423 cb(null, [
25- mentions.map(function (opts) { return apply('avatar', opts) }),
24+ mentions.filter(function (e) { return e.link })
25+ .map(function (opts) { return apply('avatar', opts) }),
2626 u.createHiddenInputs({mentions: mentions}, 'content'),
2727 ambigious.map(function (e, i) {
2828 return [
2929 'div.AmbigiousMentions',
@@ -47,4 +47,10 @@
4747 }
4848 }
4949 }
5050
51+
52+
53+
54+
55+
56+

Built with git-ssb-web