mirror of
https://github.com/LBRYFoundation/lbry-wunderbot.git
synced 2025-08-23 17:47:27 +00:00
Merge pull request #194 from lbryio/claim-id-fix
Fixed so claimId is in the published link to content, this will fix #192
This commit is contained in:
commit
335b2f3554
1 changed files with 3 additions and 3 deletions
|
@ -156,9 +156,9 @@ function announceClaim(claim, claimBlockHeight, currentHeight) {
|
|||
|
||||
if (value) {
|
||||
/*
|
||||
if (channelName) {
|
||||
if (channelName) {
|
||||
text.push("Channel: lbry://" + channelName);
|
||||
}
|
||||
}
|
||||
else
|
||||
*/
|
||||
console.log(value);
|
||||
|
@ -197,7 +197,7 @@ function announceClaim(claim, claimBlockHeight, currentHeight) {
|
|||
const richEmbeded = {
|
||||
author: {
|
||||
name: value['author'] || 'Anonymous',
|
||||
url: 'http://open.lbry.io/' + claim['name'],
|
||||
url: `http://open.lbry.io/${claim['name']}#${claim['claimId']}`,
|
||||
icon_url: 'http://barkpost-assets.s3.amazonaws.com/wp-content/uploads/2013/11/3dDoge.gif'
|
||||
},
|
||||
title: 'lbry://' + (channelName ? channelName + '/' : '') + claim['name'],
|
||||
|
|
Loading…
Add table
Reference in a new issue