fix: reworked retry system

This commit is contained in:
ThetaDev 2023-05-12 17:19:56 +02:00
parent d128ca4214
commit a2bbc850a7
17 changed files with 273 additions and 121 deletions

View file

@ -384,9 +384,9 @@ impl From<TextComponent> for crate::model::richtext::TextComponent {
text,
page_type,
browse_id,
} => Self::YouTube {
text,
target: page_type.to_url_target(browse_id),
} => match page_type.to_url_target(browse_id) {
Some(target) => Self::YouTube { text, target },
None => Self::Text(text),
},
TextComponent::Web { text, url } => Self::Web {
text,