git ssb

16+

Dominic / patchbay



Commit eec0ff0889b3f1823925555536856f1eb53e13b2

forward to root if already following

Ev Bogue committed on 12/21/2016, 6:05:23 PM
Parent: dfb739655cdd396a5a50012f250f79114e0dbcf8

Files changed

modules_basic/invite.jschanged
modules_basic/invite.jsView
@@ -51,9 +51,9 @@
5151 sbot.invite.use({feed: id}, function (err, msg) {
5252
5353 //if they already follow us, just check we actually follow them.
5454 if(err) api.follower_of(id, data.key, function (_err, follows) {
55- if(follows) cb(err)
55 + if(follows) { location.hash = '' }
5656 else next()
5757 })
5858 else next()
5959
@@ -116,9 +116,9 @@
116116 }
117117
118118 // If we are in the browser,
119119 // and do not already have a remote set, automatically trigger the invite.
120- if(process.title == 'browser' && !localStorage.remote) attempt()
120 + // if(process.title == 'browser' && !localStorage.remote) attempt()
121121
122122 return div
123123 }
124124 }

Built with git-ssb-web