don't try to use other accounts to post
Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
@@ -205,7 +205,7 @@ pub fn render_nav(col: usize, app: &mut Damus, ui: &mut egui::Ui) -> RenderNavRe
|
|||||||
None
|
None
|
||||||
}
|
}
|
||||||
Route::ComposeNote => {
|
Route::ComposeNote => {
|
||||||
let kp = app.accounts.selected_or_first_nsec()?;
|
let kp = app.accounts.get_selected_account()?.to_full()?;
|
||||||
let draft = app.drafts.compose_mut();
|
let draft = app.drafts.compose_mut();
|
||||||
|
|
||||||
let txn = nostrdb::Transaction::new(&app.ndb).expect("txn");
|
let txn = nostrdb::Transaction::new(&app.ndb).expect("txn");
|
||||||
|
|||||||
Reference in New Issue
Block a user