v0.0.17: fix /r reply in TUI, /p shortcut, /eth, /unalias
TUI fixes: - /r and /reply now work: tracks last_dm_peer from received messages - /r switches peer to last DM sender, then type normally - /p @alias works as shortcut for /peer @alias - /eth shows Ethereum address in TUI - /unalias removes your alias Web fixes: - /p @alias and /peer @alias resolve and set peer - /r and /reply work (switch to last DM sender) - /unalias removes alias - /admin-unalias <alias> <password> for admin removal - File download now shows as clickable link (not auto-download) Server: - POST /v1/alias/unregister — remove own alias - POST /v1/alias/admin-remove — admin removes any alias - WARZONE_ADMIN_PASSWORD env var (default: "admin") Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -125,6 +125,12 @@ pub fn save_seed(seed: &Seed) -> anyhow::Result<()> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
/// Load raw seed bytes (for deriving eth address etc).
|
||||
pub fn load_seed_raw() -> anyhow::Result<[u8; 32]> {
|
||||
let seed = load_seed()?;
|
||||
Ok(seed.0)
|
||||
}
|
||||
|
||||
/// Load seed, decrypting if necessary.
|
||||
pub fn load_seed() -> anyhow::Result<Seed> {
|
||||
let path = seed_path();
|
||||
|
||||
Reference in New Issue
Block a user