mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
fix: add trailing space if deletion link included in image upload response (#5269)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
parent
2750c528af
commit
fb6beb4aca
2 changed files with 2 additions and 1 deletions
|
@ -113,6 +113,7 @@
|
||||||
- Bugfix: Fixed split header tooltips appearing too tall. (#5232)
|
- Bugfix: Fixed split header tooltips appearing too tall. (#5232)
|
||||||
- Bugfix: Fixed past messages not showing in the search popup after adding a channel. (#5248)
|
- Bugfix: Fixed past messages not showing in the search popup after adding a channel. (#5248)
|
||||||
- Bugfix: Detect when OBS is running on MacOS. (#5260)
|
- Bugfix: Detect when OBS is running on MacOS. (#5260)
|
||||||
|
- Bugfix: Fixed a missing space when the image uploader provided a delete link. (#5269)
|
||||||
- Bugfix: Remove ":" from the message the user is replying to if it's a /me message. (#5263)
|
- Bugfix: Remove ":" from the message the user is replying to if it's a /me message. (#5263)
|
||||||
- Dev: Run miniaudio in a separate thread, and simplify it to not manage the device ourselves. There's a chance the simplification is a bad idea. (#4978)
|
- Dev: Run miniaudio in a separate thread, and simplify it to not manage the device ourselves. There's a chance the simplification is a bad idea. (#4978)
|
||||||
- Dev: Change clang-format from v14 to v16. (#4929)
|
- Dev: Change clang-format from v14 to v16. (#4929)
|
||||||
|
|
|
@ -543,7 +543,7 @@ MessageBuilder::MessageBuilder(ImageUploaderResultTag /*unused*/,
|
||||||
// This also ensures that the LinkResolver doesn't get these links.
|
// This also ensures that the LinkResolver doesn't get these links.
|
||||||
addText(imageLink, MessageColor::Link)
|
addText(imageLink, MessageColor::Link)
|
||||||
->setLink({Link::Url, imageLink})
|
->setLink({Link::Url, imageLink})
|
||||||
->setTrailingSpace(false);
|
->setTrailingSpace(!deletionLink.isEmpty());
|
||||||
|
|
||||||
if (!deletionLink.isEmpty())
|
if (!deletionLink.isEmpty())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue