this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: nice troll from me

isabel 9be6a9c2 20b96a06

+1 -1
+1 -1
src/event_handler/replace_link.rs
··· 7 7 8 8 pub async fn handle(ctx: &Context, event: &FullEvent, _data: &Data) -> Result<()> { 9 9 if let FullEvent::Message { new_message } = event { 10 - let regex = Regex::new(r"(https?:\/\/(?:(www|vm)\.)?(x\.com|twitter\.com|reddit\.com|instagram\.com|tiktok\.com|bsky\.app)\/[^\s]+)").unwrap(); 10 + let regex = Regex::new(r"(https?:\/\/(?:(www|vm)\.)?(x\.com|twitter\.com|reddit\.com|instagram\.com|tiktok\.com)\/[^\s]+)").unwrap(); 11 11 let mut links: Vec<String> = Vec::new(); 12 12 13 13 for capture in regex.find_iter(&new_message.content) {