B:BD[
4.348] → [
5.228:259]
B:BD[
5.259] → [
2.389:668]
let streaming = match tl {
Timeline::Public => client.public_streaming(format!("wss://{}", config.instance_url)),
Timeline::Local => client.local_streaming(format!("wss://{}", config.instance_url)),
Timeline::Home => client.user_streaming(format!("wss://{}", config.instance_url)),
let (streaming, timeline_type) = match tl {
Timeline::Public => (
client.public_streaming(format!("wss://{}", config.instance_url)),
"Public",
),
Timeline::Local => (
client.local_streaming(format!("wss://{}", config.instance_url)),
"Local",
),
Timeline::Home => (
client.user_streaming(format!("wss://{}", config.instance_url)),
"Home",
),