Fix erroneous copying of emotes (twitch emotes in particular)

Fix #514
This commit is contained in:
Rasmus Karlsson
2018-06-24 16:29:30 +00:00
parent fc0e89edf3
commit 355b80680d
5 changed files with 31 additions and 2 deletions
@@ -74,7 +74,7 @@ ImageLayoutElement::ImageLayoutElement(MessageElement &_creator, Image *_image,
void ImageLayoutElement::addCopyTextToString(QString &str, int from, int to) const
{
str += this->image->getName();
str += this->image->getCopyString();
if (this->hasTrailingSpace()) {
str += " ";