Send message function

This commit is contained in:
2025-12-28 10:00:15 +01:00
parent 896841e1c0
commit 7eec07c931
6 changed files with 340 additions and 115 deletions

View File

@@ -12,7 +12,7 @@ pub struct LocalPost {
#[tauri::command]
pub async fn fetch_nostr_posts() -> Result<Vec<LocalPost>, String> {
// 1. Verbindung aufbauen
let easy = EasyNostr::new("nsec1...")
let easy = EasyNostr::new("nsec1fkhszd5sv8yp6g966qdh5kuph25g4nn9pa2k5rwpuglt6rde8u8qwr3r87")
.await
.map_err(|e| e.to_string())?;