git ssb

4+

Dominic / scuttlebot



Invite notes

%UcqW5DcDjD8U9PbYxTnCz9Zl+7HoUTf8usOnRA4uuOA=.sha256
Closed cel wants to merge commits into master from invite-note
cel · 3/30/2017, 3:50:20 PM

Invite notes

I realized I've generated and given away various invite codes to @pub_cel, and now I see the pub follow feeds and I'm not sure who the people are. This PR is a simple change to allow giving an invite code a note when generating it, a piece of a text for the sbot to internally associate with the invite code. Then when the code is used, the sbot puts the note in the contact message when it follows the feed that is using the invite code. This would allow the pub operator and others to get a better idea of where a peer is coming from - whether they used a public code from the internet, or were at an event, or used a one-time code that was given to a specific person, etc.

%KuV5IisCWGaaNwaV7zhFh0/KI9uhvn1oPJoIifbyMqk=.sha256 cel · 3/30/2017, 3:56:03 PM

https://git.scuttlebot.io/%25M0TrM%2BoJT2i%2FphUJO%2FfZ2wkK2AN2FB1xK0tqR7SNj58%3D.sha256/commit/69b89f6f0bf0128f0a22b579bcba5157df95a37d

%2Mj/aAUzflagjvR4pW0k7VERMt+mfc1ZCtVxcQSWfdM=.sha256 Dominic · 3/30/2017, 9:16:43 PM

Totally merging this! This means we'll need to update the various renderers. I was wondering if it should be text which might get it to display as intended by default, but then I thought about it and it would only use that if it falls back to nothing. But displaying a note property on any(?) message could be handy for future things too?

cel mentioned this pull request in @cryptix yes, the cron script failed last night, as it is sometimes wont to do. i've re-run it now. and it is passed our daily record, acco
%Y14zRu+tpAtJd1PqI6SALBZVB7Ktez6WuUOWWCtQC10=.sha256 cel · 4/14/2017, 8:38:12 PM

@dominic @mmckegg ping

note: i'm rendering this as "from" in patchfoo. e.g. for %t7EPDdb...:

@pub_cel 11 hours ago autofollows @gvenk from https://github.com/ssbc/scuttlebot/wiki/Pub-Servers

Dominic deleted the invite-note branch · 6/24/2017, 2:37:34 AM

Built with git-ssb-web