mirror of
https://github.com/aljazceru/notedeck.git
synced 2026-01-25 19:24:20 +01:00
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
|
||||
}
|
||||
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 txn = nostrdb::Transaction::new(&app.ndb).expect("txn");
|
||||
|
||||
Reference in New Issue
Block a user