Closed tarushnagpal closed 1 year ago
Will make sure status links, such as
https://mastodon.social/@overholt@glammr.us/109587412485871313
Do not match our regex since a masto mention @overholt@glammr.us
is a part of them
Code-wise I think it's looking good, can you add a regression test to make sure this doesn't happen again?
To be completely fair, a full fix of this would be to unfurl the link, this: https://mastodon.social/@overholt@glammr.us/109587412485871313
should actually be https://glammr.us/@overholt/109587411932871112
, but that would require an extra HTTP call for each link in that format
Have added a test,
but that would require an extra HTTP call for each link in that format Hmm yeah, we should probably avoid that.
Fixes https://github.com/renatolond/mastodon-twitter-poster/issues/922