From 0f8a1331534d3dec65b45e2f21c620f9b0e411b8 Mon Sep 17 00:00:00 2001 From: Snazzah <7025343+Snazzah@users.noreply.github.com> Date: Tue, 22 Sep 2020 20:23:20 -0500 Subject: [PATCH] Update util.js --- src/util.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +};