Commit 7830521a20a57b285da7357ef05f53b3dd072424
Handle self-named repos
Charles Lehner authored on 9/25/2016, 6:53:20 PMDominic Tarr committed on 10/24/2016, 8:26:19 PM
Parent: d9f1971c3d17925ef02061745ea977da4be146c5
Files changed
modules/git.js | changed |
package.json | changed |
modules/git.js | |||
---|---|---|---|
@@ -78,9 +78,10 @@ | |||
78 | 78 … | } | |
79 | 79 … | ||
80 | 80 … | function repoLink(id) { | |
81 | 81 … | var el = h('a', {href: '#'+id}, id.substr(0, 10) + '…') | |
82 | - getAvatar({links: sbot_links}, self_id, id, function (err, avatar) { | ||
82 … | + getAvatar({links: sbot_links, get: sbot_get}, self_id, id, | ||
83 … | + function (err, avatar) { | ||
83 | 84 … | if(err) return console.error(err) | |
84 | 85 … | el.textContent = avatar.name | |
85 | 86 … | }) | |
86 | 87 … | return el |
package.json | ||
---|---|---|
@@ -34,9 +34,9 @@ | ||
34 | 34 … | "pull-scroll": "^0.2.0", |
35 | 35 … | "pull-stream": "^3.3.2", |
36 | 36 … | "simple-mime": "^0.1.0", |
37 | 37 … | "split-buffer": "^1.0.0", |
38 | - "ssb-avatar": "^0.1.0", | |
38 … | + "ssb-avatar": "^0.2.0", | |
39 | 39 … | "ssb-client": "^4.0.3", |
40 | 40 … | "ssb-config": "^2.1.1", |
41 | 41 … | "ssb-feed": "^2.2.1", |
42 | 42 … | "ssb-keys": "^6.1.0", |
Built with git-ssb-web