diff --git a/src/util.js b/src/util.js index 274aa18..fdcfe37 100644 --- a/src/util.js +++ b/src/util.js @@ -160,7 +160,7 @@ Util.resolveToClaimID = (arg) => { if (/^[a-f0-9]{40}$/.test(arg)) return arg; else if (/^lbry:\/\/@?[\w-]+#([a-f0-9]{40})$/.test(arg)) - return arg.replace(/^<@!?(\d{17,18})>$/, '$1'); + return arg.replace(/^lbry:\/\/@?[\w-]+#([a-f0-9]{40})$/, '$1'); else return null; }; @@ -296,4 +296,4 @@ Util.LBRY = { } return { count: supports.length }; } -}; \ No newline at end of file +};