git ssb

0+

alanz / patchwork



forked from Matt McKegg / patchwork

Commit a69e9da25b4bc586435174712185486605414551

include @ in name when using "Send private message" shortcut

Matt McKegg committed on 10/17/2017, 1:07:16 AM
Parent: 0fea233fca9208a686f53687dc39b14b3215c371

Files changed

modules/page/html/render/private.jschanged
modules/page/html/render/private.jsView
@@ -34,9 +34,9 @@
3434
3535 view.setAnchor = function (data) {
3636 if (data && data.compose && data.compose.to) {
3737 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)
3939 window.requestAnimationFrame(() => {
4040 compose.focus()
4141 })
4242 }

Built with git-ssb-web