mirror of
https://github.com/aljazceru/notedeck.git
synced 2026-01-22 01:34:21 +01:00
allow DeckAuthor source for timeline
Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user