fixed an issue where normal emotes would be redrawn like gif emotes

This commit is contained in:
fourtf
2018-04-06 17:46:12 +02:00
parent ed50f1835f
commit 0322c73eb5
3 changed files with 16 additions and 1 deletions
@@ -105,6 +105,7 @@ void ImageLayoutElement::paintAnimated(QPainter &painter, int yOffset)
}
if (this->image->isAnimated()) {
// qDebug() << this->image->getUrl();
auto pixmap = this->image->getPixmap();
if (pixmap != nullptr) {