Geohash-specific relays (#306)

* per-relay-chat

* normalize relay URL

* turn off default relays

* add relay list

* fetch relay list from the internet
This commit is contained in:
callebtc
2025-08-24 12:52:31 +02:00
committed by GitHub
parent cb7b01ad81
commit 23c397fe7b
6 changed files with 774 additions and 13 deletions
@@ -1,6 +1,7 @@
package com.bitchat.android
import android.app.Application
import com.bitchat.android.nostr.RelayDirectory
/**
* Main application class for bitchat Android
@@ -10,7 +11,7 @@ class BitchatApplication : Application() {
override fun onCreate() {
super.onCreate()
// Initialize any global services or configurations
// For now, keep it simple
// Initialize relay directory (loads assets/nostr_relays.csv)
RelayDirectory.initialize(this)
}
}