commit 213332ee712b57ecdc5f0bb5e97d530c1ba8f434 parent 0138186a005690a85ebb3f1e95bee37d595b0714 Author: kernelkind <kernelkind@gmail.com> Date: Thu, 5 Dec 2024 20:24:59 -0500 allow DeckAuthor source for timeline Signed-off-by: kernelkind <kernelkind@gmail.com> Diffstat:
M | src/ui/add_column.rs | | | 6 | +++++- |
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/ui/add_column.rs b/src/ui/add_column.rs @@ -284,7 +284,11 @@ impl<'a> AddColumnView<'a> { }); if let Some(acc) = self.cur_account { - let source = PubkeySource::Explicit(acc.pubkey); + let source = if acc.secret_key.is_some() { + PubkeySource::DeckAuthor + } else { + PubkeySource::Explicit(acc.pubkey) + }; vec.push(ColumnOptionData { title: "Home timeline",