Commit b66d3b80c9607c7f76b89ae35e24a2a704d0d563
Use % sigil for git-ssb repo names
cel committed on 11/15/2016, 5:23:47 AMParent: 7da1b2adbfa620cd35e8dcf31baf0f7d82bc9874
Files changed
modules_extra/git.js | changed |
modules_extra/git.js | |||
---|---|---|---|
@@ -78,8 +78,9 @@ | |||
78 | 78 … | var text = document.createTextNode(id.substr(0, 10) + '…') | |
79 | 79 … | getAvatar({links: sbot_links, get: sbot_get}, self_id, id, | |
80 | 80 … | function (err, avatar) { | |
81 | 81 … | if(err) return console.error(err) | |
82 … | + if (avatar.name[0] !== '%') avatar.name = '%' + avatar.name | ||
82 | 83 … | text.nodeValue = avatar.name | |
83 | 84 … | }) | |
84 | 85 … | return text | |
85 | 86 … | } |
Built with git-ssb-web