Commit a69e9da25b4bc586435174712185486605414551
include @ in name when using "Send private message" shortcut
Matt McKegg committed on 10/17/2017, 1:07:16 AMParent: 0fea233fca9208a686f53687dc39b14b3215c371
Files changed
modules/page/html/render/private.js | changed |
modules/page/html/render/private.js | ||
---|---|---|
@@ -34,9 +34,9 @@ | ||
34 | 34 | |
35 | 35 | view.setAnchor = function (data) { |
36 | 36 | if (data && data.compose && data.compose.to) { |
37 | 37 | var name = api.about.obs.name(data.compose.to) |
38 | - compose.setText(`[${name()}](${data.compose.to})\n\n`, true) | |
38 | + compose.setText(`[@${name()}](${data.compose.to})\n\n`, true) | |
39 | 39 | window.requestAnimationFrame(() => { |
40 | 40 | compose.focus() |
41 | 41 | }) |
42 | 42 | } |
Built with git-ssb-web