Commit dd30016162bb32c84bfd25fe57e87e63a98977c5
add git pushes
Ev Bogue committed on 8/12/2016, 4:58:39 AMParent: dd24a3ffbedb6252417e7c018a5e8af3d51a66ad
Files changed
index.js | changed |
index.js | ||
---|---|---|
@@ -27,8 +27,11 @@ | ||
27 | 27 … | } |
28 | 28 … | if (msg.value.content.type === 'about') { |
29 | 29 … | var message = ('I identified ' + msg.value.content.about + ' as ' + msg.value.content.name + ' - <span class="date">' + moment(msg.value.timestamp).fromNow() + '</span>') |
30 | 30 … | } |
31 … | + if (msg.value.content.type === 'git-update') { | |
32 … | + var message = ('I pushed a git commit to <a href="http://gitmx.com/">gitmx.com</a> - <span class="date">' + moment(msg.value.timestamp).fromNow() + '</span>') | |
33 … | + } | |
31 | 34 … | else { |
32 | 35 … | var message = ('I sent a private message - <span class="date">' + moment(msg.value.timestamp).fromNow() + '</span>') |
33 | 36 … | } |
34 | 37 … | fs.writeFileSync('message.md', message); |
Built with git-ssb-web