allow DeckAuthor source for timeline

Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
kernelkind
2024-12-05 20:24:59 -05:00
parent 0138186a00
commit 213332ee71

View File

@@ -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",