mirror of
https://github.com/permissionlesstech/bitchat-android.git
synced 2026-11-01 07:51:15 +00:00
Record the source of the bundled and cached relay files
Review follow-up on the naming: the bundled asset and the download cache kept their old file names when the fetch moved to online_relays_gps.csv. A comment now records where both come from; the names then do not send anyone looking for a georelays fetch that is gone.
This commit is contained in:
parent
43ce034bcd
commit
54a0b4dd45
@ -33,6 +33,8 @@ object RelayDirectory {
|
||||
// Reading different files made the selections diverge. Selecting from the same
|
||||
// file, with rows keyed and ordered the same way, keeps them aligned.
|
||||
internal const val ASSET_FILE_URL = "https://raw.githubusercontent.com/permissionlesstech/bitchat/refs/heads/main/relays/online_relays_gps.csv"
|
||||
// Download cache of ASSET_FILE_URL above, and the bundled list the weekly job
|
||||
// refreshes from it; the file names predate the source's move to online_relays_gps.csv.
|
||||
private const val ASSET_FILE = "nostr_relays.csv"
|
||||
private const val DOWNLOADED_FILE = "nostr_relays_latest.csv"
|
||||
private const val PREFS_NAME = "relay_directory_prefs"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user