mirror of
https://github.com/dergigi/boris.git
synced 2025-12-23 01:24:19 +01:00
refactor: use isLocalOnly instead of isOfflineCreated
- isLocalOnly is more accurate - covers both offline and online-but-local-only scenarios - Update tooltip to 'Local relays only - will sync when remote relays available' - Better semantic meaning: highlights only published to local relays - Covers cases where user is online but only connected to local relays
This commit is contained in:
@@ -135,7 +135,7 @@ export async function createHighlight(
|
||||
// Convert to Highlight with relay tracking info and return IMMEDIATELY
|
||||
const highlight = eventToHighlight(signedEvent)
|
||||
highlight.publishedRelays = expectedSuccessRelays
|
||||
highlight.isOfflineCreated = isLocalOnly
|
||||
highlight.isLocalOnly = isLocalOnly
|
||||
|
||||
return highlight
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user