args: add search column argument
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -406,6 +406,10 @@ impl TimelineKind {
|
||||
TimelineKind::List(ListKind::contact_list(pk))
|
||||
}
|
||||
|
||||
pub fn search(s: String) -> Self {
|
||||
TimelineKind::Search(SearchQuery::new(s))
|
||||
}
|
||||
|
||||
pub fn is_contacts(&self) -> bool {
|
||||
matches!(self, TimelineKind::List(ListKind::Contact(_)))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user