git ssb

16+

Dominic / patchbay



Commit 7830521a20a57b285da7357ef05f53b3dd072424

Handle self-named repos

Charles Lehner authored on 9/25/2016, 6:53:20 PM
Dominic Tarr committed on 10/24/2016, 8:26:19 PM
Parent: d9f1971c3d17925ef02061745ea977da4be146c5

Files changed

modules/git.jschanged
package.jsonchanged
modules/git.jsView
@@ -78,9 +78,10 @@
7878 }
7979
8080 function repoLink(id) {
8181 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) {
8384 if(err) return console.error(err)
8485 el.textContent = avatar.name
8586 })
8687 return el
package.jsonView
@@ -34,9 +34,9 @@
3434 "pull-scroll": "^0.2.0",
3535 "pull-stream": "^3.3.2",
3636 "simple-mime": "^0.1.0",
3737 "split-buffer": "^1.0.0",
38- "ssb-avatar": "^0.1.0",
38 + "ssb-avatar": "^0.2.0",
3939 "ssb-client": "^4.0.3",
4040 "ssb-config": "^2.1.1",
4141 "ssb-feed": "^2.2.1",
4242 "ssb-keys": "^6.1.0",

Built with git-ssb-web