mirror of
https://github.com/dergigi/boris.git
synced 2025-12-27 11:34:50 +01:00
fix(highlights): include local relays in relay indicator tooltip
Remove filter that excluded local relays from the fallback tooltip - now shows all configured relays including localhost
This commit is contained in:
@@ -201,9 +201,8 @@ export const HighlightItem: React.FC<HighlightItemProps> = ({
|
||||
}
|
||||
}
|
||||
|
||||
// Fallback: show remote relays we queried (where this was likely fetched from)
|
||||
const remoteRelays = RELAYS.filter(url => !isLocalRelay(url))
|
||||
const relayNames = remoteRelays.map(url =>
|
||||
// Fallback: show all relays we queried (where this was likely fetched from)
|
||||
const relayNames = RELAYS.map(url =>
|
||||
url.replace(/^wss?:\/\//, '').replace(/\/$/, '')
|
||||
)
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user