Lonami / grammers

(tele)gramme.rs - use Telegram's API from Rust
https://t.me/gramme_rs
Apache License 2.0
535 stars 103 forks source link

Fixed invite link parsing #250

Closed rs-pro0 closed 2 months ago

rs-pro0 commented 2 months ago

From the documentation of url we can see that path always stars with / which means that paths[0] is always empty, so we just skip it. I don't know if we need to check if paths.len() is nonzero, but that was also an issue before, so I didn't introduce new issues.