git ssb

0+

ev / microbay



forked from Dominic / patchbay

Commit bbf9e423c5c7c91fb95d8d2b7f0bd30e6615b94a

Update avatar images on reconnect

Charles Lehner committed on 8/8/2016, 7:44:38 AM
Parent: 5225db1d0cd9f2285ba984868432f417086a7a58

Files changed

modules/avatar-image.jschanged
modules/avatar-image.jsView
@@ -26,9 +26,10 @@
2626
2727 var last = 0
2828
2929 //blah blah
30-setTimeout(function () {
30+exports.connection_status = function (err) {
31+ if (err) return
3132 pull(
3233 sbot_query({
3334 query: [{
3435 $filter: {
@@ -70,9 +71,9 @@
7071 avatars[a.id] = a
7172
7273 })
7374 )
74-})
75+}
7576
7677 exports.avatar_image = function (author, classes) {
7778 classes = classes || ''
7879 if(classes && 'string' === typeof classes) classes = '.avatar--'+classes

Built with git-ssb-web