feat: Add Shosho as external client for Live Events (#770)
* feat: Add Shosho as an external client for Live Events Adds 'Shosho' to the list of external clients for kind 30311 (Live Event) events. The link format is `https://shosho.live/live/<event_bech32>`. * refactor: Reorder clients for Live Events Based on feedback, this commit reorders the external clients for Live Events to place 'shosho' after 'zap.stream'. --------- Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
This commit is contained in:
parent
2efc884e01
commit
e740d199f1
1 changed files with 5 additions and 1 deletions
|
|
@ -65,6 +65,10 @@ const clients: Record<string, { name: string; getUrl: (id: string) => string }>
|
||||||
name: 'Pareto',
|
name: 'Pareto',
|
||||||
getUrl: (id: string) => `https://pareto.space/a/${id}`
|
getUrl: (id: string) => `https://pareto.space/a/${id}`
|
||||||
},
|
},
|
||||||
|
shosho: {
|
||||||
|
name: 'Shosho',
|
||||||
|
getUrl: (id: string) => `https://shosho.live/live/${id}`
|
||||||
|
},
|
||||||
njump: {
|
njump: {
|
||||||
name: 'Njump',
|
name: 'Njump',
|
||||||
getUrl: (id: string) => `https://njump.me/${id}`
|
getUrl: (id: string) => `https://njump.me/${id}`
|
||||||
|
|
@ -107,7 +111,7 @@ export default function ClientSelect({
|
||||||
case kinds.DraftLong:
|
case kinds.DraftLong:
|
||||||
return ['yakihonne', 'coracle', 'habla', 'lumilumi', 'pareto', 'njump']
|
return ['yakihonne', 'coracle', 'habla', 'lumilumi', 'pareto', 'njump']
|
||||||
case kinds.LiveEvent:
|
case kinds.LiveEvent:
|
||||||
return ['zapStream', 'nostrudel', 'njump']
|
return ['zapStream', 'shosho', 'nostrudel', 'njump']
|
||||||
case kinds.Date:
|
case kinds.Date:
|
||||||
case kinds.Time:
|
case kinds.Time:
|
||||||
return ['coracle', 'njump']
|
return ['coracle', 'njump']
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue