Use ':' as separator for LBRY.TV sharing links (#1169)
This commit is contained in:
parent
a655d0112b
commit
9ac216504d
1 changed files with 8 additions and 2 deletions
|
@ -223,6 +223,9 @@ public class LbryUri {
|
|||
String secondaryClaimId = !Helper.isNullOrEmpty(secondaryClaimName) ? streamClaimId : null;
|
||||
|
||||
if (!Helper.isNullOrEmpty(primaryClaimId)) {
|
||||
if (protocol.equals(LBRY_TV_BASE_URL))
|
||||
sb.append(':').append(primaryClaimId);
|
||||
else
|
||||
sb.append('#').append(primaryClaimId);
|
||||
} else if (primaryClaimSequence > 0) {
|
||||
sb.append(':').append(primaryClaimSequence);
|
||||
|
@ -235,6 +238,9 @@ public class LbryUri {
|
|||
}
|
||||
|
||||
if (!Helper.isNullOrEmpty(secondaryClaimId)) {
|
||||
if (protocol.equals(LBRY_TV_BASE_URL))
|
||||
sb.append(':').append(secondaryClaimId);
|
||||
else
|
||||
sb.append('#').append(secondaryClaimId);
|
||||
} else if (secondaryClaimSequence > 0) {
|
||||
sb.append(':').append(secondaryClaimSequence);
|
||||
|
|
Loading…
Reference in a new issue