git ssb

10+

Matt McKegg / patchwork



Commit a57d294d9379c382e44e72a14e760b7064123545

channel autocomplete: don't turn into markdown

Matt McKegg committed on 6/26/2017, 3:53:50 AM
Parent: 97c12b3fb9bca355d2f95010e9d57493c203e138

Files changed

modules/channel/obs/suggest.jschanged
modules/channel/obs/suggest.jsView
@@ -50,9 +50,9 @@
5050 return Struct({
5151 title: id,
5252 id: `#${id}`,
5353 subtitle: computed([id, subscribed], subscribedCaption),
54- value: computed([id], mention)
54+ value: `#${id}`
5555 })
5656 }
5757 }
5858
@@ -60,8 +60,4 @@
6060 if (subscribed.has(id)) {
6161 return 'subscribed'
6262 }
6363 }
64-
65-function mention (id) {
66- return `[#${id}](#${id})`
67-}

Built with git-ssb-web