git ssb

7+

dinoworm 🐛 / patchcore



Commit 394a9948ac30959a4068090a0ca311090e15a607

add channel to likes

Matt McKegg committed on 4/8/2017, 10:59:24 AM
Parent: bf11fb1415cc7ffb6d5a37e90c86dc8ca73f482d

Files changed

message/html/action/like.jschanged
message/html/action/like.jsView
@@ -29,11 +29,13 @@
2929
3030 function publishLike (msg, status = true) {
3131 var dig = status ? {
3232 type: 'vote',
33 + channel: msg.value.content.channel,
3334 vote: { link: msg.key, value: 1, expression: 'Dig' }
3435 } : {
3536 type: 'vote',
37 + channel: msg.value.content.channel,
3638 vote: { link: msg.key, value: 0, expression: 'Undig' }
3739 }
3840 if (msg.value.content.recps) {
3941 dig.recps = msg.value.content.recps.map(function (e) {

Built with git-ssb-web