fix: x site change from fxtwitter to fixvx
This commit is contained in:
parent
eaed7733ff
commit
aa065f0775
4 changed files with 7 additions and 4 deletions
|
@ -14,6 +14,9 @@
|
||||||
Make sure you have cargo installed!
|
Make sure you have cargo installed!
|
||||||
Edit .env.example and rename to .env
|
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
|
Compile debug version
|
||||||
```
|
```
|
||||||
make dev
|
make dev
|
||||||
|
|
|
@ -8,4 +8,4 @@ pub mod notice;
|
||||||
pub mod user_interactions;
|
pub mod user_interactions;
|
||||||
pub mod other;
|
pub mod other;
|
||||||
|
|
||||||
pub mod channel_test;
|
// pub mod channel_test;
|
|
@ -1,7 +1,7 @@
|
||||||
pub use moove::*;
|
pub use moove::*;
|
||||||
pub use say::*;
|
pub use say::*;
|
||||||
pub use gif::*;
|
// pub use gif::*;
|
||||||
|
|
||||||
pub mod moove;
|
pub mod moove;
|
||||||
pub mod say;
|
pub mod say;
|
||||||
pub mod gif;
|
// pub mod gif;
|
|
@ -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)
|
// X and IG not embedding correctly (IG fix does not work for now need to find different one)
|
||||||
let link_fixes = HashMap::from([
|
let link_fixes = HashMap::from([
|
||||||
("//x.com", "//fxtwitter.com")
|
("//x.com", "//fixvx.com")
|
||||||
]);
|
]);
|
||||||
|
|
||||||
for (site, fix) in link_fixes {
|
for (site, fix) in link_fixes {
|
||||||
|
|
Loading…
Reference in a new issue