fix: x site change from fxtwitter to fixvx

This commit is contained in:
Ladislav Hano 2024-12-31 12:49:53 +01:00
parent 47976b822b
commit dfc0bf5a58
4 changed files with 7 additions and 4 deletions

View file

@ -14,6 +14,9 @@
Make sure you have cargo installed!
Edit .env.example and rename to .env
Check if you have openssl (libssl-dev Ubuntu, openssl-devel Fedora)
audiopus_sys requires cmake
Compile debug version
```
make dev

View file

@ -8,4 +8,4 @@ pub mod notice;
pub mod user_interactions;
pub mod other;
pub mod channel_test;
// pub mod channel_test;

View file

@ -1,7 +1,7 @@
pub use moove::*;
pub use say::*;
pub use gif::*;
// pub use gif::*;
pub mod moove;
pub mod say;
pub mod gif;
// pub mod gif;

View file

@ -33,7 +33,7 @@ pub async fn handle(ctx: Context, msg: Message) {
// X and IG not embedding correctly (IG fix does not work for now need to find different one)
let link_fixes = HashMap::from([
("//x.com", "//fxtwitter.com")
("//x.com", "//fixvx.com")
]);
for (site, fix) in link_fixes {