mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Fixed links having http://
added to the beginning in certain cases. (#5323)
This commit is contained in:
parent
bf8266e9b3
commit
7285f08a04
|
@ -8,6 +8,7 @@
|
||||||
- Bugfix: Fixed a crash that could occur on Wayland when using the image uploader. (#5314)
|
- Bugfix: Fixed a crash that could occur on Wayland when using the image uploader. (#5314)
|
||||||
- Bugfix: Fixed split tooltip getting stuck in some cases. (#5309)
|
- Bugfix: Fixed split tooltip getting stuck in some cases. (#5309)
|
||||||
- Bugfix: Fixed the version string not showing up as expected in Finder on macOS. (#5311)
|
- Bugfix: Fixed the version string not showing up as expected in Finder on macOS. (#5311)
|
||||||
|
- Bugfix: Fixed links having `http://` added to the beginning in certain cases. (#5323)
|
||||||
|
|
||||||
## 2.5.0-beta.1
|
## 2.5.0-beta.1
|
||||||
|
|
||||||
|
|
|
@ -635,7 +635,7 @@ void MessageBuilder::addLink(const ParsedLink &parsedLink)
|
||||||
auto textColor = MessageColor(MessageColor::Link);
|
auto textColor = MessageColor(MessageColor::Link);
|
||||||
auto *el = this->emplace<LinkElement>(
|
auto *el = this->emplace<LinkElement>(
|
||||||
LinkElement::Parsed{.lowercase = lowercaseLinkString,
|
LinkElement::Parsed{.lowercase = lowercaseLinkString,
|
||||||
.original = matchedLink},
|
.original = origLink},
|
||||||
MessageElementFlag::Text, textColor);
|
MessageElementFlag::Text, textColor);
|
||||||
el->setLink({Link::Url, matchedLink});
|
el->setLink({Link::Url, matchedLink});
|
||||||
getIApp()->getLinkResolver()->resolve(el->linkInfo());
|
getIApp()->getLinkResolver()->resolve(el->linkInfo());
|
||||||
|
|
Loading…
Reference in a new issue