Merge branch 'fix_smart_mentions' into 'master'

Fix smart mentions

See merge request veretcle/scootaloo!37
This commit is contained in:
VC
2022-11-21 20:33:32 +00:00
3 changed files with 3 additions and 3 deletions

2
Cargo.lock generated
View File

@@ -2103,7 +2103,7 @@ dependencies = [
[[package]]
name = "scootaloo"
version = "0.10.0"
version = "0.10.1"
dependencies = [
"chrono",
"clap",

View File

@@ -1,6 +1,6 @@
[package]
name = "scootaloo"
version = "0.10.0"
version = "0.10.1"
authors = ["VC <veretcle+framagit@mateu.be>"]
edition = "2021"

View File

@@ -50,7 +50,7 @@ pub async fn run(config: Config) {
(
format!("@{}", s.twitter_screen_name),
format!(
"{}@{}",
"@{}@{}",
s.mastodon_screen_name.as_ref().unwrap(),
s.base.split('/').last().unwrap()
),